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.001376/0.001376, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 239.3 MB, free: 4.625 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.001607/0.001608, allocations: 188.5 kB / 289.5 MB, free: 2.352 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4808/0.4808, allocations: 78.54 MB / 418.2 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 75.89 kB / 497.6 MB, free: 6.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1356, allocations: 68.18 MB / 0.5525 GB, free: 2.125 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.2479/0.3835, allocations: 14.96 MB / 0.5671 GB, free: 30.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008984/0.3925, allocations: 4.607 MB / 0.5716 GB, free: 29.03 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00356/0.3961, allocations: 29.56 kB / 0.5716 GB, free: 29.03 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002428/0.3986, allocations: 0.7703 MB / 0.5724 GB, free: 28.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007237/0.4059, allocations: 2.414 MB / 0.5747 GB, free: 27.71 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003239/0.4091, allocations: 1.333 MB / 0.576 GB, free: 27.6 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007272/0.4164, allocations: 4.87 MB / 0.5808 GB, free: 26.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001808/0.4182, allocations: 0.8011 MB / 0.5816 GB, free: 25.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003348/0.4216, allocations: 1.877 MB / 0.5834 GB, free: 25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003411/0.425, allocations: 2.442 MB / 0.5858 GB, free: 23.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001525/0.4266, allocations: 403.9 kB / 0.5862 GB, free: 23.8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002786/0.4294, allocations: 0.625 MB / 0.5868 GB, free: 23.74 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001637/0.431, allocations: 0.9764 MB / 0.5877 GB, free: 23.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003167/0.4342, allocations: 2.004 MB / 0.5897 GB, free: 21.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005386/0.4396, allocations: 5.279 MB / 0.5948 GB, free: 19.45 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.4396, allocations: 7.938 kB / 0.5948 GB, free: 19.45 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4397, allocations: 0 / 0.5948 GB, free: 19.45 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001574/0.4398, allocations: 0 / 0.5948 GB, free: 19.45 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.04124/0.4811, allocations: 9.517 MB / 0.6041 GB, free: 16.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.4811, allocations: 10.25 kB / 0.6041 GB, free: 16.34 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004159/0.4816, allocations: 282.9 kB / 0.6044 GB, free: 16.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01127/0.4928, allocations: 1.75 MB / 0.6061 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004761/0.4976, allocations: 2.177 MB / 0.6082 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007138/0.4984, allocations: 0.6665 MB / 0.6089 GB, free: 13.83 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007493/0.4991, allocations: 239.6 kB / 0.6091 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006232/0.5054, allocations: 2.688 MB / 0.6118 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.921e-05/0.5054, allocations: 0 / 0.6118 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002413/0.5057, allocations: 75.88 kB / 0.6118 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-05/0.5058, allocations: 51.09 kB / 0.6119 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006712/0.5125, allocations: 2.832 MB / 0.6146 GB, free: 11.79 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.02002/0.5325, allocations: 11.05 MB / 0.6254 GB, free: 3.477 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01089/0.5434, allocations: 4.974 MB / 0.6303 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004425/0.5479, allocations: 1.935 MB / 0.6322 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002939/0.5482, allocations: 41.95 kB / 0.6322 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.809e-05/0.5483, allocations: 64.56 kB / 0.6323 GB, free: 12.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 4.207e-06/0.5483, allocations: 0 / 0.6323 GB, free: 12.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1258/0.6742, allocations: 29.55 MB / 0.6611 GB, free: 15.19 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.613e-05/0.6743, allocations: 77.41 kB / 0.6612 GB, free: 15.1 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005079/0.6793, allocations: 2.906 MB / 0.6641 GB, free: 12.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001146/0.6805, allocations: 85.7 kB / 0.6641 GB, free: 12.11 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001069/0.6816, allocations: 1.256 MB / 0.6654 GB, free: 10.84 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001497/0.6831, allocations: 0.8936 MB / 0.6662 GB, free: 9.93 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001439/0.6845, allocations: 0.7599 MB / 0.667 GB, free: 9.156 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.573e-05/0.6846, allocations: 303 kB / 0.6673 GB, free: 8.859 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00479/0.6894, allocations: 2.28 MB / 0.6695 GB, free: 6.57 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00511/0.6946, allocations: 2.673 MB / 0.6721 GB, free: 3.805 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009969/0.7045, allocations: 4.855 MB / 0.6768 GB, free: 14.87 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/0.7046, allocations: 0 / 0.6768 GB, free: 14.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01654/0.7211, allocations: 7.228 MB / 0.6839 GB, free: 7.625 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.809e-05/0.7212, allocations: 4 kB / 0.6839 GB, free: 7.621 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.7212, allocations: 8 kB / 0.6839 GB, free: 7.613 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01991/0.7412, allocations: 5.741 MB / 0.6895 GB, free: 1.863 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003895/0.7451, allocations: 0.6643 MB / 0.6902 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01613/0.7613, allocations: 5.446 MB / 0.6955 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005825/0.7672, allocations: 0.5079 MB / 0.696 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009561/0.7681, allocations: 140 kB / 0.6961 GB, free: 11.08 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.002256/0.7704, allocations: 0.5168 MB / 0.6966 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001499/0.7719, allocations: 335.8 kB / 0.6969 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03568/0.8076, allocations: 10.52 MB / 0.7072 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.293e-05/0.8077, allocations: 31.88 kB / 0.7073 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/0.8077, allocations: 0 / 0.7073 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001006/0.8079, allocations: 15.95 kB / 0.7073 GB, free: 15.57 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.04726/0.8551, allocations: 14.64 MB / 0.7216 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.799e-05/0.8552, allocations: 5.625 kB / 0.7216 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001785/0.857, allocations: 251.7 kB / 0.7218 GB, free: 404 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01666/0.8737, allocations: 4.776 MB / 0.7265 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007973/0.8745, allocations: 55.98 kB / 0.7265 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0574/0.9319, allocations: 21.47 MB / 0.7475 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.932, allocations: 0.5469 kB / 0.7475 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04162/0.9736, allocations: 12.82 MB / 0.76 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001627/0.9753, allocations: 0.4884 MB / 0.7605 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001705/0.977, allocations: 52 kB / 0.7605 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004771/0.9818, allocations: 247.7 kB / 0.7608 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002917/0.9848, allocations: 0.5227 MB / 0.7613 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006748/0.9855, allocations: 64 kB / 0.7614 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004049/0.9895, allocations: 1.877 MB / 0.7632 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.31e-07/0.9896, allocations: 0 / 0.7632 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00582/0.9954, allocations: 1.12 MB / 0.7643 GB, free: 4.637 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.3119/1.307, allocations: 13.22 MB / 0.7772 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01958/1.327, allocations: 6.227 MB / 0.7833 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/1.327, allocations: 2.438 kB / 0.7833 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01137/1.338, allocations: 3.791 MB / 0.787 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002945/1.341, allocations: 265.4 kB / 0.7872 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09627/1.438, allocations: 43.27 MB / 0.8295 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00222/1.44, allocations: 1.847 MB / 0.8313 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002037/1.442, allocations: 292 kB / 0.8316 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00232/1.444, allocations: 1.389 MB / 0.8329 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of SimCode: time 9.52e-07/1.444, allocations: 4 kB / 0.8329 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1201/1.564, allocations: 88.59 MB / 0.9194 GB, free: 55.14 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/15.26, allocations: 64 / 0.9194 GB, free: 55.14 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)