Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") [: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 4.0.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 178.7 kB / 7.457 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.058/1.058, allocations: 221.4 MB / 229.3 MB, free: 3 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008275/0.0008275, allocations: 88.88 kB / 280.1 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3608/0.3608, allocations: 78.1 MB / 409 MB, free: 15.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.919e-06/5.02e-06, allocations: 0 / 484.4 MB, free: 4.559 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2268, allocations: 69.34 MB / 0.5407 GB, free: 21.37 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1002/0.327, allocations: 103.2 MB / 0.6415 GB, free: 1.664 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/0.3273, allocations: 79.95 kB / 0.6416 GB, free: 1.586 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.37/0.6973, allocations: 94.38 MB / 0.7338 GB, free: 74.39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001645/0.6975, allocations: 56 kB / 0.7338 GB, free: 74.33 MB / 490.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.01057/0.7081, allocations: 4.072 MB / 0.7378 GB, free: 70.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.7081, allocations: 8.031 kB / 0.7378 GB, free: 70.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007295/0.7154, allocations: 1.338 MB / 0.7391 GB, free: 68.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003473/0.7189, allocations: 1.85 MB / 0.7409 GB, free: 67 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005512/0.7195, allocations: 0.6028 MB / 0.7415 GB, free: 66.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005883/0.7201, allocations: 119.9 kB / 0.7416 GB, free: 66.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003971/0.7241, allocations: 2.202 MB / 0.7438 GB, free: 63.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003299/0.7274, allocations: 1.952 MB / 0.7457 GB, free: 62.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.885e-05/0.7274, allocations: 0 / 0.7457 GB, free: 62.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00021/0.7276, allocations: 0 / 0.7457 GB, free: 62.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.947e-05/0.7277, allocations: 44 kB / 0.7457 GB, free: 61.98 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01607/0.7438, allocations: 10.58 MB / 0.756 GB, free: 50.92 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003023/0.7468, allocations: 2.136 MB / 0.7581 GB, free: 48.78 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001663/0.7485, allocations: 1.413 MB / 0.7595 GB, free: 47.37 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002367/0.7487, allocations: 45.94 kB / 0.7596 GB, free: 47.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.7488, allocations: 60.56 kB / 0.7596 GB, free: 47.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=249): time 4.048e-06/0.7488, allocations: 3.938 kB / 0.7596 GB, free: 47.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=249): time 0.02974/0.7785, allocations: 11.3 MB / 0.7707 GB, free: 35.92 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.7786, allocations: 85.34 kB / 0.7707 GB, free: 35.83 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002818/0.7814, allocations: 2.166 MB / 0.7728 GB, free: 33.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004453/0.7819, allocations: 25.7 kB / 0.7729 GB, free: 33.63 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002764/0.7821, allocations: 0.6954 MB / 0.7736 GB, free: 32.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001218/0.7834, allocations: 0.8389 MB / 0.7744 GB, free: 32.07 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.7835, allocations: 0 / 0.7744 GB, free: 32.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.153e-05/0.7836, allocations: 394.5 kB / 0.7747 GB, free: 31.68 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001644/0.7853, allocations: 1.129 MB / 0.7758 GB, free: 30.55 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001718/0.787, allocations: 1.387 MB / 0.7772 GB, free: 29.09 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002015/0.789, allocations: 1.261 MB / 0.7784 GB, free: 27.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.789, allocations: 0 / 0.7784 GB, free: 27.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.006219/0.7953, allocations: 4.011 MB / 0.7824 GB, free: 23.74 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.7953, allocations: 4 kB / 0.7824 GB, free: 23.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.7953, allocations: 4 kB / 0.7824 GB, free: 23.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01445/0.8098, allocations: 5.152 MB / 0.7874 GB, free: 18.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.8111, allocations: 303.6 kB / 0.7877 GB, free: 18.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008688/0.8198, allocations: 4.995 MB / 0.7926 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003476/0.8233, allocations: 445.9 kB / 0.793 GB, free: 12.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002239/0.8235, allocations: 83.97 kB / 0.7931 GB, free: 12.73 MB / 490.7 MB 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.0004055/0.8239, allocations: 140.4 kB / 0.7932 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000448/0.8244, allocations: 339.7 kB / 0.7935 GB, free: 12.26 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03006/0.8544, allocations: 11.58 MB / 0.8048 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-05/0.8545, allocations: 27.98 kB / 0.8049 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.8545, allocations: 0 / 0.8049 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.361e-05/0.8545, allocations: 11.95 kB / 0.8049 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03639/0.8909, allocations: 15.05 MB / 0.8196 GB, free: 1.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.891, allocations: 3.938 kB / 0.8196 GB, free: 1.336 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001602/0.8926, allocations: 251.7 kB / 0.8198 GB, free: 1.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01328/0.9059, allocations: 4.543 MB / 0.8242 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002741/0.9062, allocations: 23.89 kB / 0.8243 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03363/0.9398, allocations: 14.77 MB / 0.8387 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.9399, allocations: 7.938 kB / 0.8387 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03617/0.976, allocations: 13.43 MB / 0.8518 GB, free: 100 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001218/0.9773, allocations: 496.1 kB / 0.8523 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005925/0.9779, allocations: 8 kB / 0.8523 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002977/0.9809, allocations: 335.7 kB / 0.8526 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007162/0.9816, allocations: 293.5 kB / 0.8529 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002174/0.9818, allocations: 63.98 kB / 0.853 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.002425/0.9843, allocations: 1.638 MB / 0.8546 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002269/0.9865, allocations: 0.8619 MB / 0.8554 GB, free: 12.41 MB / 0.5417 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.0005458/0.9871, allocations: 303.3 kB / 0.8557 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01199/0.9991, allocations: 4.678 MB / 0.8603 GB, free: 7.395 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.9991, allocations: 0 / 0.8603 GB, free: 7.395 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.009724/1.009, allocations: 3.507 MB / 0.8637 GB, free: 3.875 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/1.011, allocations: 214.9 kB / 0.8639 GB, free: 3.66 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/1.021, allocations: 5.036 MB / 0.8688 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001821/1.023, allocations: 2.053 MB / 0.8708 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of SimCode: time 5.21e-07/1.023, allocations: 0 / 0.8708 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of Templates: time 0.1997/1.222, allocations: 46.54 MB / 0.9163 GB, free: 185.2 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & ./OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)