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.001531/0.001531, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.428/1.428, allocations: 223.2 MB / 238.9 MB, free: 5.652 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.00124/0.00124, allocations: 181 kB / 290.2 MB, free: 2.344 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5221/0.5221, allocations: 78.53 MB / 419.8 MB, free: 4.371 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.0003679, allocations: 16 kB / 499.7 MB, free: 6.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1509, allocations: 69.35 MB / 0.5558 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.2978/0.4486, allocations: 13.18 MB / 0.5686 GB, free: 35.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01032/0.459, allocations: 4.613 MB / 0.5731 GB, free: 32.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004335/0.4634, allocations: 29.88 kB / 0.5732 GB, free: 32.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003796/0.4673, allocations: 0.5406 MB / 0.5737 GB, free: 31.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009466/0.4768, allocations: 2.178 MB / 0.5758 GB, free: 30.55 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003142/0.4799, allocations: 1.074 MB / 0.5769 GB, free: 30.08 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006999/0.4869, allocations: 3.07 MB / 0.5799 GB, free: 28.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.4883, allocations: 0.6554 MB / 0.5805 GB, free: 28.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002848/0.4912, allocations: 1.552 MB / 0.582 GB, free: 27.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003474/0.4947, allocations: 2.101 MB / 0.5841 GB, free: 26.54 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001117/0.4958, allocations: 185.1 kB / 0.5842 GB, free: 26.54 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.4975, allocations: 382.6 kB / 0.5846 GB, free: 26.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005854/0.4981, allocations: 0.7282 MB / 0.5853 GB, free: 26.06 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001057/0.4991, allocations: 0.6018 MB / 0.5859 GB, free: 25.69 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004395/0.5035, allocations: 3.948 MB / 0.5898 GB, free: 24.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.5036, allocations: 0 / 0.5898 GB, free: 24.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.5036, allocations: 3.594 kB / 0.5898 GB, free: 24.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001796/0.5038, allocations: 7.938 kB / 0.5898 GB, free: 24.63 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.03943/0.5432, allocations: 9.118 MB / 0.5987 GB, free: 21.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.5433, allocations: 9.938 kB / 0.5987 GB, free: 21.96 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001319/0.5446, allocations: 287.8 kB / 0.599 GB, free: 21.78 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01222/0.5568, allocations: 1.766 MB / 0.6007 GB, free: 21.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007334/0.5642, allocations: 2.059 MB / 0.6027 GB, free: 20.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009468/0.5652, allocations: 0.6934 MB / 0.6034 GB, free: 19.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001058/0.5663, allocations: 244.2 kB / 0.6036 GB, free: 19.49 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006842/0.5731, allocations: 2.832 MB / 0.6064 GB, free: 18.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.642e-05/0.5732, allocations: 0 / 0.6064 GB, free: 18.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002274/0.5734, allocations: 79.28 kB / 0.6064 GB, free: 18.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.664e-05/0.5735, allocations: 48.56 kB / 0.6065 GB, free: 18.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007242/0.5807, allocations: 3.013 MB / 0.6094 GB, free: 17.5 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.02791/0.6087, allocations: 11.71 MB / 0.6209 GB, free: 9.191 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.014/0.6228, allocations: 5.663 MB / 0.6264 GB, free: 5.234 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006387/0.6235, allocations: 49.95 kB / 0.6264 GB, free: 5.188 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.382e-05/0.6235, allocations: 57.5 kB / 0.6265 GB, free: 5.125 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 5.21e-06/0.6235, allocations: 0 / 0.6265 GB, free: 5.125 MB / 430.1 MB Notification: Performance of matching and sorting (n=249): time 0.1339/0.7574, allocations: 35.51 MB / 0.6612 GB, free: 1.535 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/0.7575, allocations: 77.41 kB / 0.6613 GB, free: 1.449 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005176/0.7627, allocations: 2.878 MB / 0.6641 GB, free: 14.57 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001049/0.7638, allocations: 81.7 kB / 0.6641 GB, free: 14.48 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001219/0.7651, allocations: 1.264 MB / 0.6654 GB, free: 13.21 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001742/0.7668, allocations: 0.8974 MB / 0.6663 GB, free: 12.3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004481/0.7673, allocations: 84 kB / 0.6663 GB, free: 12.21 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002741/0.7676, allocations: 466.9 kB / 0.6668 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005408/0.773, allocations: 2.445 MB / 0.6692 GB, free: 9.297 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006374/0.7794, allocations: 2.829 MB / 0.6719 GB, free: 6.375 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006314/0.7857, allocations: 2.625 MB / 0.6745 GB, free: 3.75 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/0.7858, allocations: 8 kB / 0.6745 GB, free: 3.742 MB / 478.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01791/0.8037, allocations: 7.694 MB / 0.682 GB, free: 12.04 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/0.8038, allocations: 8 kB / 0.682 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.8038, allocations: 12.73 kB / 0.682 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02032/0.8241, allocations: 6.495 MB / 0.6884 GB, free: 5.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00375/0.8279, allocations: 0.6709 MB / 0.689 GB, free: 4.848 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01474/0.8427, allocations: 6.144 MB / 0.695 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005876/0.8486, allocations: 0.5977 MB / 0.6956 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008089/0.8495, allocations: 136 kB / 0.6957 GB, free: 13.94 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {62 60} Notification: Performance of prepare postOptimizeDAE: time 0.00169/0.8512, allocations: 0.5207 MB / 0.6963 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001008/0.8522, allocations: 332.5 kB / 0.6966 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03804/0.8902, allocations: 12.86 MB / 0.7091 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.593e-05/0.8903, allocations: 29.19 kB / 0.7092 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.8903, allocations: 0 / 0.7092 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.555e-05/0.8904, allocations: 11.95 kB / 0.7092 GB, free: 112 kB / 0.4981 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.0459/0.9363, allocations: 16.98 MB / 0.7257 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.193e-05/0.9364, allocations: 0 / 0.7257 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001755/0.9382, allocations: 255.6 kB / 0.726 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01749/0.9557, allocations: 5.573 MB / 0.7314 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000731/0.9564, allocations: 51.98 kB / 0.7315 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05781/1.014, allocations: 23.24 MB / 0.7542 GB, free: 1.578 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.014, allocations: 4 kB / 0.7542 GB, free: 1.574 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04434/1.059, allocations: 15.31 MB / 0.7691 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001611/1.06, allocations: 0.5 MB / 0.7696 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000973/1.061, allocations: 52 kB / 0.7697 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003323/1.065, allocations: 335.7 kB / 0.77 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001697/1.066, allocations: 0.5177 MB / 0.7705 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001918/1.067, allocations: 61.44 kB / 0.7706 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.273/1.34, allocations: 1.853 MB / 0.7724 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.91e-07/1.34, allocations: 0 / 0.7724 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007169/1.347, allocations: 1.12 MB / 0.7735 GB, free: 167.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {54 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.04272/1.39, allocations: 15.68 MB / 0.7888 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02/1.41, allocations: 6.811 MB / 0.7954 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/1.41, allocations: 0.9688 kB / 0.7954 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01451/1.424, allocations: 4.265 MB / 0.7996 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00325/1.427, allocations: 231.2 kB / 0.7998 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02229/1.45, allocations: 12.12 MB / 0.8116 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002144/1.452, allocations: 1.909 MB / 0.8135 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001931/1.454, allocations: 287.9 kB / 0.8138 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002115/1.456, allocations: 1.381 MB / 0.8151 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.593e-06/1.456, allocations: 0 / 0.8151 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.125/1.581, allocations: 78.31 MB / 0.8916 GB, free: 88.69 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000144/1.581, allocations: 199.3 kB / 0.8918 GB, free: 88.44 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.347/5.928, allocations: 0 / 0.8918 GB, free: 88.44 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/linux/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) Environment - environmentSimulation: