Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.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,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",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.004454/0.004454, allocations: 182.9 kB / 7.459 MB, free: 2.512 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.324/1.324, allocations: 205.2 MB / 213.1 MB, free: 13.86 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.0009096/0.0009096, allocations: 96.41 kB / 261.1 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07139/0.07139, allocations: 12.19 MB / 321.2 MB, free: 1.363 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3116/0.3116, allocations: 78.05 MB / 449.9 MB, free: 3.652 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2773/0.5889, allocations: 76.09 MB / 0.5137 GB, free: 30.36 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.7154, allocations: 69.23 MB / 0.5813 GB, free: 9.223 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3656/1.081, allocations: 104.6 MB / 0.6834 GB, free: 4.512 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/1.081, allocations: 76.27 kB / 0.6835 GB, free: 4.477 MB / 426.7 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.248/1.329, allocations: 96.18 MB / 0.7774 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/1.329, allocations: 15.94 kB / 0.7775 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008857/1.338, allocations: 1.345 MB / 0.7788 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004913/1.343, allocations: 1.842 MB / 0.7806 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007735/1.344, allocations: 0.6028 MB / 0.7812 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005868/1.345, allocations: 124.8 kB / 0.7813 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004724/1.349, allocations: 2.202 MB / 0.7834 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00416/1.354, allocations: 1.941 MB / 0.7853 GB, free: 6.707 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.116e-05/1.354, allocations: 7.922 kB / 0.7853 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002136/1.354, allocations: 0 / 0.7853 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.636e-05/1.354, allocations: 48 kB / 0.7854 GB, free: 6.652 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02351/1.377, allocations: 10.6 MB / 0.7957 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004144/1.382, allocations: 2.132 MB / 0.7978 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002432/1.384, allocations: 1.405 MB / 0.7992 GB, free: 8.016 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002788/1.384, allocations: 49.94 kB / 0.7992 GB, free: 7.969 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.987e-05/1.384, allocations: 60.5 kB / 0.7993 GB, free: 7.898 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=249): time 4.879e-06/1.384, allocations: 0 / 0.7993 GB, free: 7.898 MB / 0.5261 GB Notification: Performance of matching and sorting (n=249): time 0.03691/1.421, allocations: 11.3 MB / 0.8103 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/1.421, allocations: 77.41 kB / 0.8104 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004461/1.426, allocations: 2.162 MB / 0.8125 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0009501/1.427, allocations: 25.7 kB / 0.8125 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000612/1.428, allocations: 0.707 MB / 0.8132 GB, free: 9.574 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002096/1.43, allocations: 0.8272 MB / 0.814 GB, free: 8.734 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/1.43, allocations: 0 / 0.814 GB, free: 8.734 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002552/1.43, allocations: 398.4 kB / 0.8144 GB, free: 8.34 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002142/1.432, allocations: 1.137 MB / 0.8155 GB, free: 7.199 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002232/1.434, allocations: 1.383 MB / 0.8169 GB, free: 5.738 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002698/1.437, allocations: 1.261 MB / 0.8181 GB, free: 4.457 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/1.437, allocations: 7.938 kB / 0.8181 GB, free: 4.449 MB / 0.5417 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.008722/1.446, allocations: 3.999 MB / 0.822 GB, free: 408 kB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/1.446, allocations: 4 kB / 0.822 GB, free: 404 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/1.446, allocations: 8 kB / 0.822 GB, free: 396 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01802/1.464, allocations: 5.149 MB / 0.8271 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/1.466, allocations: 303.5 kB / 0.8273 GB, free: 10.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01179/1.478, allocations: 4.999 MB / 0.8322 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004471/1.482, allocations: 453.8 kB / 0.8327 GB, free: 5.469 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003947/1.483, allocations: 83.97 kB / 0.8327 GB, free: 5.387 MB / 0.5573 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 169 * 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.0005286/1.483, allocations: 128.7 kB / 0.8329 GB, free: 5.254 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008237/1.484, allocations: 335.8 kB / 0.8332 GB, free: 4.922 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03667/1.521, allocations: 11.58 MB / 0.8445 GB, free: 9.273 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.844e-05/1.521, allocations: 31.91 kB / 0.8445 GB, free: 9.242 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/1.521, allocations: 0 / 0.8445 GB, free: 9.242 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.448e-05/1.521, allocations: 15.94 kB / 0.8445 GB, free: 9.227 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.25/1.771, allocations: 15.04 MB / 0.8592 GB, free: 203.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.742e-05/1.771, allocations: 3.844 kB / 0.8592 GB, free: 203.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001866/1.773, allocations: 261.3 kB / 0.8595 GB, free: 203.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01405/1.787, allocations: 4.531 MB / 0.8639 GB, free: 203.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007493/1.788, allocations: 23.45 kB / 0.8639 GB, free: 203.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03567/1.824, allocations: 14.77 MB / 0.8783 GB, free: 201.9 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.824, allocations: 0 / 0.8783 GB, free: 201.9 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03679/1.86, allocations: 13.44 MB / 0.8915 GB, free: 201.3 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04226/1.903, allocations: 15.8 MB / 0.9069 GB, free: 199.7 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001639/1.904, allocations: 0.4916 MB / 0.9074 GB, free: 199.4 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00116/1.906, allocations: 5.688 kB / 0.9074 GB, free: 199.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004289/1.91, allocations: 335.1 kB / 0.9077 GB, free: 199.3 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001175/1.911, allocations: 300.2 kB / 0.908 GB, free: 199.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002671/1.911, allocations: 62.52 kB / 0.9081 GB, free: 199.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.003148/1.915, allocations: 1.631 MB / 0.9096 GB, free: 199.2 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004191/1.919, allocations: 0.8749 MB / 0.9105 GB, free: 199.2 MB / 0.573 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 () * 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.0007182/1.919, allocations: 301.2 kB / 0.9108 GB, free: 199.1 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01334/1.933, allocations: 4.677 MB / 0.9154 GB, free: 197.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/1.933, allocations: 0 / 0.9154 GB, free: 197.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0101/1.943, allocations: 3.513 MB / 0.9188 GB, free: 194 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00258/1.946, allocations: 213.7 kB / 0.919 GB, free: 193.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/1.957, allocations: 5.057 MB / 0.9239 GB, free: 189.3 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002013/1.959, allocations: 2.163 MB / 0.926 GB, free: 187.5 MB / 0.573 GB Notification: Performance of SimCode: time 1.523e-06/1.959, allocations: 0 / 0.926 GB, free: 187.5 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)