Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.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.Tutorial.Example_1.Example_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1") translateModel(OpenIPSL.Examples.Tutorial.Example_1.Example_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1") [: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.003429/0.003429, allocations: 182.7 kB / 7.461 MB, free: 2.504 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.327/1.327, allocations: 221.4 MB / 229.3 MB, free: 3.074 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.0009254/0.0009254, allocations: 92.5 kB / 280.1 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4774/0.4774, allocations: 78.91 MB / 409.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.278e-06/9.408e-06, allocations: 0 / 485.4 MB, free: 3.641 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3627, allocations: 69.51 MB / 0.5419 GB, free: 20.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1285/0.4913, allocations: 98.85 MB / 0.6384 GB, free: 5.094 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.4916, allocations: 75.95 kB / 0.6385 GB, free: 5.02 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.06177/0.5533, allocations: 21.9 MB / 0.6599 GB, free: 14.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.871e-05/0.5534, allocations: 16 kB / 0.6599 GB, free: 14.9 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.003644/0.5571, allocations: 1.297 MB / 0.6611 GB, free: 13.55 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.5571, allocations: 9.344 kB / 0.6612 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002587/0.5597, allocations: 402.3 kB / 0.6615 GB, free: 13.15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.5608, allocations: 0.6056 MB / 0.6621 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/0.561, allocations: 126.4 kB / 0.6622 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.5611, allocations: 40 kB / 0.6623 GB, free: 12.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001054/0.5622, allocations: 0.5532 MB / 0.6628 GB, free: 11.77 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.5633, allocations: 0.6172 MB / 0.6634 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.5633, allocations: 0 / 0.6634 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.819e-05/0.5634, allocations: 3.906 kB / 0.6634 GB, free: 11.13 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.5634, allocations: 15.98 kB / 0.6634 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005159/0.5686, allocations: 2.946 MB / 0.6663 GB, free: 8.027 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.5698, allocations: 486.1 kB / 0.6668 GB, free: 7.547 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005937/0.5704, allocations: 378.8 kB / 0.6672 GB, free: 7.176 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.374e-05/0.5705, allocations: 8.656 kB / 0.6672 GB, free: 7.168 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.5705, allocations: 39.22 kB / 0.6672 GB, free: 7.121 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 3.928e-06/0.5705, allocations: 0 / 0.6672 GB, free: 7.121 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.006027/0.5765, allocations: 1.988 MB / 0.6691 GB, free: 5.117 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.5766, allocations: 89.7 kB / 0.6692 GB, free: 5.012 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008243/0.5775, allocations: 0.6251 MB / 0.6698 GB, free: 4.383 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.442e-05/0.5776, allocations: 25.7 kB / 0.6699 GB, free: 4.352 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.5777, allocations: 256.6 kB / 0.6701 GB, free: 4.094 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002245/0.578, allocations: 224.6 kB / 0.6703 GB, free: 3.871 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.877e-05/0.578, allocations: 0 / 0.6703 GB, free: 3.871 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.5781, allocations: 333.9 kB / 0.6706 GB, free: 3.539 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005473/0.5787, allocations: 325.5 kB / 0.6709 GB, free: 3.223 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005941/0.5793, allocations: 422.6 kB / 0.6713 GB, free: 2.781 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006075/0.5799, allocations: 367.7 kB / 0.6717 GB, free: 2.422 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5799, allocations: 0 / 0.6717 GB, free: 2.422 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00687/0.5868, allocations: 2.211 MB / 0.6739 GB, free: 196 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.1977/0.7845, allocations: 0.7021 MB / 0.6745 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.551e-05/0.7846, allocations: 3.594 kB / 0.6745 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004371/0.789, allocations: 1.041 MB / 0.6756 GB, free: 144.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007356/0.7897, allocations: 109 kB / 0.6757 GB, free: 144.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007842/0.7976, allocations: 4.127 MB / 0.6797 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.7988, allocations: 118.8 kB / 0.6798 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.229e-05/0.7989, allocations: 30.03 kB / 0.6798 GB, free: 142.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/0.7989, allocations: 3.781 kB / 0.6798 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006151/0.805, allocations: 2.087 MB / 0.6819 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.8051, allocations: 3.875 kB / 0.6819 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004008/0.8091, allocations: 1.033 MB / 0.6829 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005837/0.8097, allocations: 101.1 kB / 0.683 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00764/0.8173, allocations: 4.139 MB / 0.687 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.8184, allocations: 106.6 kB / 0.6871 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.286e-05/0.8185, allocations: 23.53 kB / 0.6872 GB, free: 141.6 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real G1.avr.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 13} Notification: Performance of prepare postOptimizeDAE: time 0.0003171/0.8188, allocations: 120.1 kB / 0.6873 GB, free: 141.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.819, allocations: 88.84 kB / 0.6874 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005395/0.8244, allocations: 2.062 MB / 0.6894 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.8244, allocations: 3.875 kB / 0.6894 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.477e-06/0.8245, allocations: 7.469 kB / 0.6894 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.8245, allocations: 7.562 kB / 0.6894 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007247/0.8317, allocations: 3.201 MB / 0.6925 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.8318, allocations: 0 / 0.6925 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006195/0.8324, allocations: 81.48 kB / 0.6926 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002736/0.8352, allocations: 0.8792 MB / 0.6935 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.631e-05/0.8353, allocations: 3.844 kB / 0.6935 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005474/0.8407, allocations: 3.113 MB / 0.6965 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.8408, allocations: 4.938 kB / 0.6965 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007046/0.8478, allocations: 2.625 MB / 0.6991 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003976/0.8483, allocations: 181.8 kB / 0.6992 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.8484, allocations: 10.48 kB / 0.6992 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008997/0.8493, allocations: 76.2 kB / 0.6993 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002071/0.8496, allocations: 66.48 kB / 0.6994 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-05/0.8496, allocations: 16.38 kB / 0.6994 GB, free: 138.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006425/0.8503, allocations: 488.8 kB / 0.6999 GB, free: 138.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001436/0.8517, allocations: 437.8 kB / 0.7003 GB, free: 138.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (G1.avr.vm,G1.avr.vr,G1.avr.vf1,G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002845/0.852, allocations: 140.7 kB / 0.7004 GB, free: 138.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00678/0.8588, allocations: 2.699 MB / 0.7031 GB, free: 137.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.8589, allocations: 4.062 kB / 0.7031 GB, free: 137.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002688/0.8615, allocations: 1.088 MB / 0.7041 GB, free: 137.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006672/0.8622, allocations: 53.81 kB / 0.7042 GB, free: 137.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004133/0.8664, allocations: 1.521 MB / 0.7057 GB, free: 137 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006903/0.8671, allocations: 1.041 MB / 0.7067 GB, free: 136.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.052e-06/0.8671, allocations: 0 / 0.7067 GB, free: 136.3 MB / 490.7 MB Notification: Performance of Templates: time 0.03384/0.901, allocations: 21.59 MB / 0.7278 GB, free: 135.4 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.sim & ./OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1)