Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.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-master/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-master/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: translateModel(OpenIPSL.Tests.Machines.PSSE.GENROU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU") translateModel(OpenIPSL.Tests.Machines.PSSE.GENROU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU") [: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.004589/0.00459, allocations: 178.3 kB / 7.454 MB, free: 2.508 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.455/1.455, allocations: 205.2 MB / 213.1 MB, free: 13.85 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.000931/0.000931, allocations: 93.06 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08282/0.08282, allocations: 12.59 MB / 321.6 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2985/0.2985, allocations: 78.05 MB / 450.4 MB, free: 3.211 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.002e-06/6.022e-06, allocations: 0 / 0.5141 GB, free: 29.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1439, allocations: 69.32 MB / 0.5818 GB, free: 8.762 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4118/0.5558, allocations: 107.2 MB / 0.6865 GB, free: 1.066 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.5561, allocations: 81.08 kB / 0.6866 GB, free: 1.023 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.1029/0.659, allocations: 35.44 MB / 0.7212 GB, free: 4.059 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001308/0.6592, allocations: 20.66 kB / 0.7212 GB, free: 4.039 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.007199/0.6664, allocations: 1.907 MB / 0.7231 GB, free: 2.219 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.6665, allocations: 11.97 kB / 0.7231 GB, free: 2.207 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003886/0.6704, allocations: 0.5476 MB / 0.7236 GB, free: 1.695 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00258/0.673, allocations: 0.8431 MB / 0.7245 GB, free: 1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004924/0.6735, allocations: 339.8 kB / 0.7248 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004305/0.6739, allocations: 55.84 kB / 0.7248 GB, free: 0.5586 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002452/0.6764, allocations: 0.9364 MB / 0.7257 GB, free: 15.99 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/0.6786, allocations: 0.9259 MB / 0.7267 GB, free: 15.36 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.6787, allocations: 0 / 0.7267 GB, free: 15.36 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.6788, allocations: 0 / 0.7267 GB, free: 15.36 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.6788, allocations: 24 kB / 0.7267 GB, free: 15.33 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009784/0.6886, allocations: 4.057 MB / 0.7306 GB, free: 12.13 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.6903, allocations: 0.8702 MB / 0.7315 GB, free: 11.59 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/0.6915, allocations: 0.6176 MB / 0.7321 GB, free: 11.26 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001579/0.6917, allocations: 24.97 kB / 0.7321 GB, free: 11.23 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.6917, allocations: 46.38 kB / 0.7322 GB, free: 11.19 MB / 474.7 MB Notification: Performance of pre-optimization done (n=111): time 5.921e-06/0.6917, allocations: 0 / 0.7322 GB, free: 11.19 MB / 474.7 MB Notification: Performance of matching and sorting (n=111): time 0.0177/0.7094, allocations: 5.067 MB / 0.7371 GB, free: 6.758 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.814e-05/0.7096, allocations: 86.11 kB / 0.7372 GB, free: 6.656 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002315/0.7119, allocations: 0.9015 MB / 0.7381 GB, free: 6.004 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000343/0.7123, allocations: 25.7 kB / 0.7381 GB, free: 5.973 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002858/0.7126, allocations: 315.6 kB / 0.7384 GB, free: 5.711 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008461/0.7134, allocations: 383.9 kB / 0.7388 GB, free: 5.375 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.7136, allocations: 0 / 0.7388 GB, free: 5.375 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.7138, allocations: 352 kB / 0.7391 GB, free: 5.043 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.7149, allocations: 498.7 kB / 0.7396 GB, free: 4.789 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.7161, allocations: 0.6198 MB / 0.7402 GB, free: 4.363 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.7174, allocations: 0.5459 MB / 0.7407 GB, free: 4.055 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.7174, allocations: 4 kB / 0.7407 GB, free: 4.051 MB / 474.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.004542/0.722, allocations: 1.759 MB / 0.7424 GB, free: 2.441 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/0.7221, allocations: 8 kB / 0.7424 GB, free: 2.434 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.418e-05/0.7221, allocations: 11.92 kB / 0.7425 GB, free: 2.422 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008882/0.731, allocations: 2.357 MB / 0.7448 GB, free: 64 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000879/0.7319, allocations: 135.8 kB / 0.7449 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006425/0.7384, allocations: 2.531 MB / 0.7474 GB, free: 13.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002147/0.7406, allocations: 203 kB / 0.7475 GB, free: 13.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002413/0.7408, allocations: 39.98 kB / 0.7476 GB, free: 13.13 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0003638/0.7412, allocations: 116.9 kB / 0.7477 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005471/0.7418, allocations: 134.3 kB / 0.7478 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01684/0.7586, allocations: 5.091 MB / 0.7528 GB, free: 7.762 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.374e-05/0.7587, allocations: 12 kB / 0.7528 GB, free: 7.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.7587, allocations: 0 / 0.7528 GB, free: 7.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.709e-05/0.7588, allocations: 11.88 kB / 0.7528 GB, free: 7.738 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02178/0.7806, allocations: 6.668 MB / 0.7593 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.322e-05/0.7806, allocations: 0 / 0.7593 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.7817, allocations: 111.8 kB / 0.7594 GB, free: 0.875 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007683/0.7894, allocations: 2.068 MB / 0.7615 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003783/0.7898, allocations: 8 kB / 0.7615 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02104/0.8109, allocations: 7.168 MB / 0.7685 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.8109, allocations: 7.938 kB / 0.7685 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01986/0.8308, allocations: 6.045 MB / 0.7744 GB, free: 1.422 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009119/0.8318, allocations: 239.1 kB / 0.7746 GB, free: 1.168 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007348/0.8325, allocations: 7.984 kB / 0.7746 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002187/0.8347, allocations: 143.9 kB / 0.7747 GB, free: 1.02 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000587/0.8353, allocations: 136.7 kB / 0.7749 GB, free: 0.8867 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002004/0.8356, allocations: 32 kB / 0.7749 GB, free: 0.8555 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.00143/0.837, allocations: 0.6904 MB / 0.7756 GB, free: 164 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002076/0.8391, allocations: 411.5 kB / 0.776 GB, free: 15.76 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 67 * 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 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004955/0.8396, allocations: 149.4 kB / 0.7761 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007834/0.8474, allocations: 2.171 MB / 0.7782 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.8475, allocations: 0 / 0.7782 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006157/0.8537, allocations: 1.725 MB / 0.7799 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/0.8552, allocations: 84.72 kB / 0.78 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006651/0.8619, allocations: 2.03 MB / 0.782 GB, free: 9.543 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001493/0.8635, allocations: 1.229 MB / 0.7832 GB, free: 8.285 MB / 0.5105 GB Notification: Performance of SimCode: time 3.286e-06/0.8635, allocations: 0 / 0.7832 GB, free: 8.285 MB / 0.5105 GB Notification: Performance of Templates: time 0.04037/0.9039, allocations: 21.26 MB / 0.8039 GB, free: 3.02 MB / 0.5261 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe 2>&1)