Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 173.4 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.81/1.81, allocations: 205.3 MB / 213.4 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008277/0.0008277, allocations: 91.94 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0678/0.0678, allocations: 12.19 MB / 321.5 MB, free: 1.203 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3147/0.3147, allocations: 78.06 MB / 450.3 MB, free: 3.492 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.071e-05/2.069e-05, allocations: 0 / 0.5142 GB, free: 29.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1645, allocations: 69.24 MB / 0.5818 GB, free: 8.863 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5649/0.7295, allocations: 113.5 MB / 0.6927 GB, free: 11.5 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/0.7298, allocations: 71.47 kB / 0.6927 GB, free: 11.47 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.309/1.039, allocations: 124.4 MB / 0.8142 GB, free: 9.402 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.954e-06/1.039, allocations: 0 / 0.8142 GB, free: 9.402 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003793/1.039, allocations: 99.86 kB / 0.8143 GB, free: 9.305 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 691 * Number of variables: 691 Notification: Performance of Generate backend data structure: time 0.01845/1.058, allocations: 5.16 MB / 0.8193 GB, free: 4.078 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/1.058, allocations: 15.97 kB / 0.8193 GB, free: 4.062 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008925/1.067, allocations: 1.461 MB / 0.8208 GB, free: 2.594 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006731/1.073, allocations: 2.99 MB / 0.8237 GB, free: 15.53 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001047/1.075, allocations: 0.9099 MB / 0.8246 GB, free: 14.46 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007692/1.075, allocations: 179.9 kB / 0.8247 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005612/1.081, allocations: 3.045 MB / 0.8277 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005484/1.086, allocations: 3.033 MB / 0.8307 GB, free: 8.133 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.718e-05/1.087, allocations: 0 / 0.8307 GB, free: 8.133 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002845/1.087, allocations: 4 kB / 0.8307 GB, free: 8.129 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.411e-05/1.087, allocations: 71.97 kB / 0.8308 GB, free: 8.059 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.02891/1.116, allocations: 14.86 MB / 0.8453 GB, free: 8.633 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01219/1.128, allocations: 6.102 MB / 0.8512 GB, free: 2.305 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003174/1.131, allocations: 1.866 MB / 0.8531 GB, free: 428 kB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3324/1.464, allocations: 0.7569 MB / 0.8538 GB, free: 122.5 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005449/1.469, allocations: 2.272 MB / 0.856 GB, free: 122.3 MB / 0.573 GB Notification: Performance of pre-optimization done (n=331): time 5.39e-06/1.469, allocations: 0.5938 kB / 0.856 GB, free: 122.3 MB / 0.573 GB Notification: Performance of matching and sorting (n=331): time 0.0391/1.508, allocations: 11.6 MB / 0.8673 GB, free: 122.1 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/1.508, allocations: 192.8 kB / 0.8675 GB, free: 121.9 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009007/1.517, allocations: 3.311 MB / 0.8708 GB, free: 121.6 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001574/1.519, allocations: 28.69 kB / 0.8708 GB, free: 121.6 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001954/1.521, allocations: 1.9 MB / 0.8726 GB, free: 121.3 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002463/1.523, allocations: 1.119 MB / 0.8737 GB, free: 120.7 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003303/1.524, allocations: 0 / 0.8737 GB, free: 120.7 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0003361/1.524, allocations: 443.5 kB / 0.8742 GB, free: 120.4 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003573/1.528, allocations: 1.672 MB / 0.8758 GB, free: 120.4 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003823/1.532, allocations: 2.024 MB / 0.8778 GB, free: 120.1 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004055/1.536, allocations: 1.872 MB / 0.8796 GB, free: 120.1 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.128e-05/1.536, allocations: 2.562 kB / 0.8796 GB, free: 120.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=471) (initialization): time 0.0123/1.548, allocations: 5.556 MB / 0.885 GB, free: 119.7 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.424e-05/1.548, allocations: 14.78 kB / 0.885 GB, free: 119.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.033e-05/1.548, allocations: 7.172 kB / 0.885 GB, free: 119.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01893/1.567, allocations: 6.338 MB / 0.8912 GB, free: 119.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003302/1.57, allocations: 0.578 MB / 0.8918 GB, free: 119.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01271/1.583, allocations: 5.75 MB / 0.8974 GB, free: 118.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007474/1.591, allocations: 0.6032 MB / 0.898 GB, free: 118.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009122/1.592, allocations: 128.5 kB / 0.8981 GB, free: 118.8 MB / 0.573 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: g3.sEXS.V_erro.y:VARIABLE() "Connector of Real output signal" type: Real g1.sEXS.V_erro.y:VARIABLE() "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,g4.eSDC1A.rotatingExciterLimited.sISO.local_reset,g2.eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (316): * Single equations (assignments): 313 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {82 70} Notification: Performance of prepare postOptimizeDAE: time 0.0009338/1.593, allocations: 166.6 kB / 0.8983 GB, free: 118.7 MB / 0.573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03491/1.628, allocations: 11.6 MB / 0.9096 GB, free: 118 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003753/1.631, allocations: 458.8 kB / 0.91 GB, free: 117.7 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03491/1.666, allocations: 11.91 MB / 0.9217 GB, free: 116.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.838e-05/1.666, allocations: 33.56 kB / 0.9217 GB, free: 116.8 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/1.666, allocations: 0 / 0.9217 GB, free: 116.8 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001308/1.667, allocations: 18.14 kB / 0.9217 GB, free: 116.8 MB / 0.573 GB Warning: The model contains alias variables with conflicting start and/or 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.04348/1.71, allocations: 17.55 MB / 0.9389 GB, free: 109.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-05/1.71, allocations: 0 / 0.9389 GB, free: 109.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003306/1.713, allocations: 436.5 kB / 0.9393 GB, free: 109.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01252/1.726, allocations: 4.402 MB / 0.9436 GB, free: 106 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008845/1.727, allocations: 36.64 kB / 0.9436 GB, free: 106 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03228/1.759, allocations: 16.26 MB / 0.9595 GB, free: 91.61 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/1.759, allocations: 0 / 0.9595 GB, free: 91.61 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03885/1.798, allocations: 14.6 MB / 0.9737 GB, free: 79.31 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00331/1.802, allocations: 0.6781 MB / 0.9744 GB, free: 78.71 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002369/1.804, allocations: 12 kB / 0.9744 GB, free: 78.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005858/1.81, allocations: 454.5 kB / 0.9749 GB, free: 78.37 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002443/1.812, allocations: 0.6189 MB / 0.9755 GB, free: 78.03 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003014/1.813, allocations: 95.36 kB / 0.9755 GB, free: 77.94 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.004605/1.817, allocations: 2.446 MB / 0.9779 GB, free: 75.68 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.817, allocations: 2.156 kB / 0.9779 GB, free: 75.68 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006188/1.823, allocations: 1.156 MB / 0.9791 GB, free: 74.59 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 38 (g1.g1.w,g1.g1.delta,g1.g1.Epd,g1.g1.Epq,g1.g1.PSIkd,g1.g1.PSIkq,g1.sEXS.simpleLagLim.state,g1.sEXS.leadLag.TF.x_scaled[1],g2.g2.w,g2.g2.delta,g2.g2.Epd,g2.g2.Epq,g2.g2.PSIkd,g2.g2.PSIkq,g2.eSDC1A.imDerivativeLag.x,g2.eSDC1A.imLeadLag.TF.x_scaled[1],g2.eSDC1A.simpleLagLim.state,g2.eSDC1A.rotatingExciterLimited.sISO.y,g2.eSDC1A.TransducerDelay.state,g3.g3.w,g3.g3.delta,g3.g3.Epd,g3.g3.Epq,g3.g3.PSIkd,g3.g3.PSIkq,g3.sEXS.simpleLagLim.state,g3.sEXS.leadLag.TF.x_scaled[1],g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epd,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIkq,g4.eSDC1A.imDerivativeLag.x,g4.eSDC1A.imLeadLag.TF.x_scaled[1],g4.eSDC1A.simpleLagLim.state,g4.eSDC1A.rotatingExciterLimited.sISO.y,g4.eSDC1A.TransducerDelay.state) * Number of discrete variables: 8 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (238): * Single equations (assignments): 237 * 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.03804/1.861, allocations: 15.53 MB / 0.9942 GB, free: 61.44 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01611/1.878, allocations: 5.923 MB / 1 GB, free: 56.03 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/1.878, allocations: 5.656 kB / 1 GB, free: 56.03 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01157/1.889, allocations: 4.183 MB / 1.004 GB, free: 52.31 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004543/1.894, allocations: 328.9 kB / 1.004 GB, free: 52.02 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02172/1.916, allocations: 7.976 MB / 1.012 GB, free: 44.99 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001828/1.917, allocations: 2.423 MB / 1.015 GB, free: 43.18 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002427/1.92, allocations: 390.8 kB / 1.015 GB, free: 42.91 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002496/1.922, allocations: 1.948 MB / 1.017 GB, free: 41.12 MB / 0.573 GB Notification: Performance of SimCode: time 2.194e-06/1.922, allocations: 3.5 kB / 1.017 GB, free: 41.12 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5968/2.519, allocations: 97.61 MB / 1.112 GB, free: 125.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/2.52, allocations: 127.3 kB / 1.112 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.312/8.832, allocations: 3.625 kB / 1.112 GB, free: 125.7 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1)