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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003124/0.003124, allocations: 181.4 kB / 7.459 MB, free: 2.496 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.291/1.291, allocations: 205.2 MB / 213.1 MB, free: 13.92 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.0009835/0.0009835, allocations: 94.34 kB / 261.1 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07567/0.07567, allocations: 12.19 MB / 321.2 MB, free: 1.371 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2864/0.2864, allocations: 78.06 MB / 449.9 MB, free: 3.652 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2951/0.5816, allocations: 76.08 MB / 0.5137 GB, free: 30.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.7267, allocations: 69.22 MB / 0.5813 GB, free: 9.199 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3977/1.124, allocations: 113.4 MB / 0.692 GB, free: 12.04 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/1.125, allocations: 70.34 kB / 0.6921 GB, free: 12.01 MB / 442.7 MB 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.3614/1.486, allocations: 129.6 MB / 0.8187 GB, free: 4.578 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.25e-05/1.486, allocations: 15.94 kB / 0.8187 GB, free: 4.562 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01111/1.497, allocations: 1.527 MB / 0.8202 GB, free: 3.027 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01067/1.508, allocations: 3.013 MB / 0.8231 GB, free: 15.94 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001625/1.51, allocations: 0.9178 MB / 0.824 GB, free: 14.87 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001877/1.512, allocations: 187.7 kB / 0.8242 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009523/1.521, allocations: 3.049 MB / 0.8272 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01186/1.533, allocations: 3.033 MB / 0.8301 GB, free: 8.527 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001277/1.533, allocations: 4 kB / 0.8301 GB, free: 8.523 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001042/1.534, allocations: 0 / 0.8301 GB, free: 8.523 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.338e-05/1.534, allocations: 68 kB / 0.8302 GB, free: 8.457 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04203/1.577, allocations: 15.07 MB / 0.8449 GB, free: 8.855 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008195/1.585, allocations: 3.197 MB / 0.848 GB, free: 5.625 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004419/1.589, allocations: 1.844 MB / 0.8498 GB, free: 3.762 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001265/1.591, allocations: 0.7699 MB / 0.8506 GB, free: 2.824 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005726/1.596, allocations: 2.213 MB / 0.8528 GB, free: 0.5586 MB / 0.573 GB Notification: Performance of pre-optimization done (n=331): time 7.835e-06/1.596, allocations: 0 / 0.8528 GB, free: 0.5586 MB / 0.573 GB Notification: Performance of matching and sorting (n=331): time 0.2487/1.845, allocations: 12.27 MB / 0.8647 GB, free: 189.1 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/1.845, allocations: 191.7 kB / 0.8649 GB, free: 188.9 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006161/1.851, allocations: 3.315 MB / 0.8682 GB, free: 188.6 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001241/1.853, allocations: 25.7 kB / 0.8682 GB, free: 188.6 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006407/1.853, allocations: 0.9843 MB / 0.8691 GB, free: 188.2 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003202/1.856, allocations: 1.122 MB / 0.8702 GB, free: 187.6 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003609/1.857, allocations: 0 / 0.8702 GB, free: 187.6 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002346/1.857, allocations: 441.2 kB / 0.8707 GB, free: 187.3 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002817/1.86, allocations: 1.688 MB / 0.8723 GB, free: 187.3 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003008/1.863, allocations: 2.037 MB / 0.8743 GB, free: 187.1 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004077/1.867, allocations: 1.893 MB / 0.8761 GB, free: 187 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/1.867, allocations: 3.719 kB / 0.8761 GB, free: 187 MB / 0.573 GB Notification: Performance of matching and sorting (n=471) (initialization): time 0.01284/1.88, allocations: 5.649 MB / 0.8817 GB, free: 186.7 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/1.88, allocations: 9.438 kB / 0.8817 GB, free: 186.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.563e-05/1.88, allocations: 6.906 kB / 0.8817 GB, free: 186.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02926/1.909, allocations: 6.521 MB / 0.888 GB, free: 186.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003532/1.913, allocations: 0.5771 MB / 0.8886 GB, free: 186.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01568/1.929, allocations: 6.081 MB / 0.8945 GB, free: 185.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007749/1.936, allocations: 0.6372 MB / 0.8952 GB, free: 185.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001552/1.938, allocations: 126.8 kB / 0.8953 GB, free: 185.7 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.002258/1.94, allocations: 157.1 kB / 0.8954 GB, free: 185.6 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002444/1.943, allocations: 455.1 kB / 0.8959 GB, free: 185.3 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03683/1.98, allocations: 12.58 MB / 0.9082 GB, free: 184.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.692e-05/1.98, allocations: 35.31 kB / 0.9082 GB, free: 184.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/1.98, allocations: 0 / 0.9082 GB, free: 184.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001117/1.98, allocations: 19.61 kB / 0.9082 GB, free: 184.4 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05006/2.03, allocations: 17.97 MB / 0.9258 GB, free: 181.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.154e-05/2.03, allocations: 0 / 0.9258 GB, free: 181.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004191/2.034, allocations: 445.2 kB / 0.9262 GB, free: 180.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01457/2.049, allocations: 4.546 MB / 0.9306 GB, free: 177 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001184/2.05, allocations: 39.55 kB / 0.9307 GB, free: 177 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03567/2.086, allocations: 14.78 MB / 0.9451 GB, free: 163.8 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/2.086, allocations: 0 / 0.9451 GB, free: 163.8 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04561/2.131, allocations: 15.26 MB / 0.96 GB, free: 150.8 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04605/2.178, allocations: 18.28 MB / 0.9779 GB, free: 134.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002328/2.18, allocations: 0.6852 MB / 0.9785 GB, free: 134.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00215/2.182, allocations: 12 kB / 0.9785 GB, free: 134.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006198/2.188, allocations: 484.5 kB / 0.979 GB, free: 133.9 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001433/2.19, allocations: 397 kB / 0.9794 GB, free: 133.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000313/2.19, allocations: 86.98 kB / 0.9795 GB, free: 133.6 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.004339/2.194, allocations: 2.458 MB / 0.9819 GB, free: 131.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004812/2.199, allocations: 1.146 MB / 0.983 GB, free: 130.2 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.0007186/2.2, allocations: 344 kB / 0.9833 GB, free: 130 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01545/2.215, allocations: 6.166 MB / 0.9893 GB, free: 124.3 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/2.215, allocations: 5.375 kB / 0.9893 GB, free: 124.3 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01147/2.227, allocations: 4.151 MB / 0.9934 GB, free: 120.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003568/2.231, allocations: 310.5 kB / 0.9937 GB, free: 120.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01985/2.25, allocations: 7.6 MB / 1.001 GB, free: 113.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003422/2.254, allocations: 2.951 MB / 1.004 GB, free: 111.2 MB / 0.573 GB Notification: Performance of SimCode: time 1.142e-06/2.254, allocations: 0 / 1.004 GB, free: 111.2 MB / 0.573 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)