Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 239 MB, free: 4.734 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001427, allocations: 184.5 kB / 289.2 MB, free: 2.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4413/0.4413, allocations: 78.53 MB / 417.9 MB, free: 3.289 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 75.88 kB / 497 MB, free: 6.586 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1372, allocations: 68.17 MB / 0.552 GB, free: 2.367 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.2568/0.3941, allocations: 15.75 MB / 0.5673 GB, free: 30.49 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00888/0.403, allocations: 4.714 MB / 0.5719 GB, free: 28.92 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003365/0.4064, allocations: 30.16 kB / 0.572 GB, free: 28.92 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002186/0.4086, allocations: 0.6198 MB / 0.5726 GB, free: 28.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006623/0.4153, allocations: 2.165 MB / 0.5747 GB, free: 27.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002825/0.4181, allocations: 1.234 MB / 0.5759 GB, free: 27.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005778/0.4239, allocations: 4.871 MB / 0.5807 GB, free: 26.49 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001337/0.4253, allocations: 0.7989 MB / 0.5814 GB, free: 26.12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002577/0.4278, allocations: 1.895 MB / 0.5833 GB, free: 25.15 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002916/0.4308, allocations: 2.444 MB / 0.5857 GB, free: 23.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001318/0.4321, allocations: 401.9 kB / 0.5861 GB, free: 23.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002187/0.4343, allocations: 0.6279 MB / 0.5867 GB, free: 23.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00141/0.4357, allocations: 0.9769 MB / 0.5876 GB, free: 23.22 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002536/0.4383, allocations: 2.015 MB / 0.5896 GB, free: 21.85 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00479/0.4431, allocations: 5.283 MB / 0.5947 GB, free: 19.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4431, allocations: 0 / 0.5947 GB, free: 19.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4431, allocations: 1.281 kB / 0.5947 GB, free: 19.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001639/0.4433, allocations: 0 / 0.5947 GB, free: 19.59 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 493 * Number of variables: 493 Notification: Performance of Generate backend data structure: time 0.04008/0.4834, allocations: 9.512 MB / 0.604 GB, free: 16.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.4834, allocations: 9.375 kB / 0.604 GB, free: 16.48 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006629/0.4841, allocations: 287.1 kB / 0.6043 GB, free: 16.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01158/0.4957, allocations: 1.753 MB / 0.606 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00593/0.5017, allocations: 2.174 MB / 0.6082 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008328/0.5025, allocations: 0.6612 MB / 0.6088 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001308/0.5039, allocations: 244.5 kB / 0.609 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008449/0.5123, allocations: 2.683 MB / 0.6117 GB, free: 12.94 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.69e-05/0.5124, allocations: 0.5156 kB / 0.6117 GB, free: 12.94 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005737/0.513, allocations: 80.47 kB / 0.6117 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.765e-05/0.5131, allocations: 46.83 kB / 0.6118 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00664/0.5197, allocations: 2.832 MB / 0.6145 GB, free: 11.94 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01925/0.539, allocations: 11.06 MB / 0.6253 GB, free: 3.637 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01076/0.5498, allocations: 4.975 MB / 0.6302 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003956/0.5537, allocations: 1.932 MB / 0.6321 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003293/0.5541, allocations: 42.52 kB / 0.6321 GB, free: 12.74 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.5542, allocations: 60.56 kB / 0.6322 GB, free: 12.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 7.043e-06/0.5542, allocations: 4 kB / 0.6322 GB, free: 12.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1229/0.677, allocations: 29.55 MB / 0.661 GB, free: 15.05 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.362e-05/0.6771, allocations: 77.41 kB / 0.6611 GB, free: 14.96 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005967/0.6831, allocations: 2.902 MB / 0.664 GB, free: 12.06 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001269/0.6844, allocations: 83.48 kB / 0.664 GB, free: 11.98 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001596/0.686, allocations: 1.26 MB / 0.6653 GB, free: 10.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001876/0.6879, allocations: 0.8936 MB / 0.6661 GB, free: 9.797 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003685/0.6916, allocations: 0.7521 MB / 0.6669 GB, free: 9.031 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.657e-05/0.6917, allocations: 305.1 kB / 0.6672 GB, free: 8.73 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005377/0.6971, allocations: 2.284 MB / 0.6694 GB, free: 6.438 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005587/0.7027, allocations: 2.677 MB / 0.672 GB, free: 3.668 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/0.713, allocations: 4.855 MB / 0.6767 GB, free: 14.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/0.713, allocations: 0 / 0.6767 GB, free: 14.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01736/0.7304, allocations: 7.228 MB / 0.6838 GB, free: 7.488 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.7305, allocations: 4 kB / 0.6838 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.637e-05/0.7305, allocations: 8.938 kB / 0.6838 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0188/0.7493, allocations: 5.741 MB / 0.6894 GB, free: 1.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003658/0.753, allocations: 0.6593 MB / 0.6901 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01407/0.7671, allocations: 5.443 MB / 0.6954 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00572/0.7729, allocations: 0.5117 MB / 0.6959 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009528/0.7738, allocations: 136 kB / 0.696 GB, free: 10.95 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (410): * Single equations (assignments): 409 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(62,60)} Notification: Performance of prepare postOptimizeDAE: time 0.002282/0.7761, allocations: 0.5284 MB / 0.6965 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001504/0.7777, allocations: 331.8 kB / 0.6968 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03444/0.8121, allocations: 10.52 MB / 0.7071 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.28e-05/0.8122, allocations: 27.94 kB / 0.7071 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/0.8122, allocations: 0.9375 kB / 0.7072 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.381e-05/0.8123, allocations: 15.95 kB / 0.7072 GB, free: 15.44 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04265/0.855, allocations: 14.65 MB / 0.7215 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-05/0.855, allocations: 4 kB / 0.7215 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001708/0.8567, allocations: 255.6 kB / 0.7217 GB, free: 260 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01543/0.8722, allocations: 4.769 MB / 0.7264 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006452/0.8729, allocations: 51.98 kB / 0.7264 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0532/0.9261, allocations: 21.47 MB / 0.7474 GB, free: 5.801 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.9261, allocations: 1.078 kB / 0.7474 GB, free: 5.801 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03943/0.9656, allocations: 12.82 MB / 0.7599 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001538/0.9671, allocations: 0.4884 MB / 0.7604 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001363/0.9685, allocations: 44 kB / 0.7604 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00388/0.9724, allocations: 252.3 kB / 0.7607 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002141/0.9746, allocations: 0.5256 MB / 0.7612 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000431/0.975, allocations: 63.98 kB / 0.7612 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00356/0.9786, allocations: 1.882 MB / 0.7631 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9786, allocations: 0 / 0.7631 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004605/0.9832, allocations: 1.12 MB / 0.7642 GB, free: 4.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (g1.gENSAL.w,g1.gENSAL.delta,g1.gENSAL.Epq,g1.gENSAL.PSIkd,g1.gENSAL.PSIppq,g2.gENSAL.w,g2.gENSAL.delta,g2.gENSAL.Epq,g2.gENSAL.PSIkd,g2.gENSAL.PSIppq,g3.gENSAL.w,g3.gENSAL.delta,g3.gENSAL.Epq,g3.gENSAL.PSIkd,g3.gENSAL.PSIppq,g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIppq) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(54,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.2564/1.24, allocations: 13.23 MB / 0.7771 GB, free: 166.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0187/1.258, allocations: 6.22 MB / 0.7832 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.381e-06/1.258, allocations: 0 / 0.7832 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01062/1.269, allocations: 3.792 MB / 0.7869 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002569/1.272, allocations: 274.1 kB / 0.7871 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08293/1.355, allocations: 44.32 MB / 0.8304 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009449/1.356, allocations: 1.841 MB / 0.8322 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00142/1.357, allocations: 297.2 kB / 0.8325 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001502/1.358, allocations: 1.39 MB / 0.8339 GB, free: 140 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/1.358, allocations: 0 / 0.8339 GB, free: 140 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09785/1.456, allocations: 85.96 MB / 0.9178 GB, free: 56.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001526/1.457, allocations: 212.7 kB / 0.918 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.323/5.779, allocations: 0 / 0.918 GB, free: 56.43 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.fmu > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)