Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_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_release_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.001844/0.001844, allocations: 184 kB / 7.462 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.042/1.042, allocations: 221.4 MB / 229.3 MB, free: 2.996 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.0008833/0.0008833, allocations: 97.98 kB / 280.1 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3617/0.3617, allocations: 78.1 MB / 409 MB, free: 15.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.699e-06/4.789e-06, allocations: 0 / 484.4 MB, free: 4.543 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2272, allocations: 69.35 MB / 0.5408 GB, free: 21.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09583/0.323, allocations: 98.16 MB / 0.6366 GB, free: 6.758 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001851/0.3232, allocations: 79.94 kB / 0.6367 GB, free: 6.68 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.05501/0.3783, allocations: 21.71 MB / 0.6579 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.596e-05/0.3783, allocations: 12 kB / 0.6579 GB, free: 0.7617 MB / 474.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.002895/0.3812, allocations: 1.303 MB / 0.6592 GB, free: 15.41 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.3813, allocations: 8.031 kB / 0.6592 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002206/0.3835, allocations: 406.3 kB / 0.6596 GB, free: 15.01 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008908/0.3844, allocations: 0.6017 MB / 0.6602 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001614/0.3846, allocations: 134.4 kB / 0.6603 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.783e-05/0.3847, allocations: 35.94 kB / 0.6603 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00094/0.3856, allocations: 0.5533 MB / 0.6609 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.3866, allocations: 0.6172 MB / 0.6615 GB, free: 12.99 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.3866, allocations: 4 kB / 0.6615 GB, free: 12.99 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.942e-05/0.3867, allocations: 3.906 kB / 0.6615 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.3867, allocations: 12 kB / 0.6615 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004687/0.3914, allocations: 2.937 MB / 0.6644 GB, free: 9.891 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009704/0.3924, allocations: 494.9 kB / 0.6648 GB, free: 9.398 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005365/0.393, allocations: 370.8 kB / 0.6652 GB, free: 9.035 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.307e-05/0.393, allocations: 8.656 kB / 0.6652 GB, free: 9.027 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.3931, allocations: 39.22 kB / 0.6652 GB, free: 8.98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 1.713e-06/0.3931, allocations: 4 kB / 0.6652 GB, free: 8.977 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.005528/0.3986, allocations: 1.981 MB / 0.6672 GB, free: 6.98 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.3987, allocations: 85.77 kB / 0.6673 GB, free: 6.879 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007366/0.3994, allocations: 0.6252 MB / 0.6679 GB, free: 6.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.416e-05/0.3995, allocations: 25.7 kB / 0.6679 GB, free: 6.219 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.3996, allocations: 248.6 kB / 0.6681 GB, free: 5.969 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/0.3998, allocations: 228.6 kB / 0.6683 GB, free: 5.742 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.587e-05/0.3999, allocations: 3.938 kB / 0.6683 GB, free: 5.738 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.4, allocations: 341.8 kB / 0.6687 GB, free: 5.398 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005087/0.4005, allocations: 325.6 kB / 0.669 GB, free: 5.082 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005668/0.4011, allocations: 414.6 kB / 0.6694 GB, free: 4.648 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005673/0.4016, allocations: 363.8 kB / 0.6697 GB, free: 4.293 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4017, allocations: 0 / 0.6697 GB, free: 4.293 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006307/0.408, allocations: 2.215 MB / 0.6719 GB, free: 2.059 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002281/0.4082, allocations: 0.7017 MB / 0.6726 GB, free: 1.305 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.4082, allocations: 8 kB / 0.6726 GB, free: 1.297 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004154/0.4124, allocations: 1.033 MB / 0.6736 GB, free: 264 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005583/0.413, allocations: 115.8 kB / 0.6737 GB, free: 148 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1315/0.5445, allocations: 4.124 MB / 0.6777 GB, free: 144.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009817/0.5455, allocations: 120.9 kB / 0.6778 GB, free: 144.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.65e-05/0.5456, allocations: 21.72 kB / 0.6779 GB, free: 144.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.883e-06/0.5456, allocations: 3.875 kB / 0.6779 GB, free: 144.4 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00566/0.5513, allocations: 2.088 MB / 0.6799 GB, free: 144.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.5513, allocations: 5.5 kB / 0.6799 GB, free: 144.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003687/0.555, allocations: 1.04 MB / 0.6809 GB, free: 144.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004764/0.5554, allocations: 103.2 kB / 0.681 GB, free: 144.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006833/0.5623, allocations: 4.132 MB / 0.6851 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008212/0.5631, allocations: 112.4 kB / 0.6852 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.307e-05/0.5632, allocations: 22.62 kB / 0.6852 GB, free: 143 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.0001903/0.5634, allocations: 119.3 kB / 0.6853 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.5635, allocations: 86.28 kB / 0.6854 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005004/0.5686, allocations: 2.056 MB / 0.6874 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.5686, allocations: 6.844 kB / 0.6874 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.5686, allocations: 9.688 kB / 0.6874 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.5686, allocations: 8.5 kB / 0.6874 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006112/0.5747, allocations: 3.199 MB / 0.6905 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.5747, allocations: 0 / 0.6905 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005306/0.5753, allocations: 86.73 kB / 0.6906 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002508/0.5778, allocations: 0.8748 MB / 0.6915 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.068e-05/0.5779, allocations: 7.781 kB / 0.6915 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004802/0.5827, allocations: 3.108 MB / 0.6945 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.5827, allocations: 10.88 kB / 0.6945 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005977/0.5887, allocations: 2.616 MB / 0.6971 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/0.5889, allocations: 190.3 kB / 0.6973 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.589, allocations: 2.438 kB / 0.6973 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008134/0.5898, allocations: 78.91 kB / 0.6973 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.59, allocations: 65.61 kB / 0.6974 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-05/0.5901, allocations: 16.16 kB / 0.6974 GB, free: 140.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.000567/0.5907, allocations: 485.8 kB / 0.6979 GB, free: 140.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001145/0.5918, allocations: 434.8 kB / 0.6983 GB, free: 140.2 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.000222/0.592, allocations: 142.2 kB / 0.6984 GB, free: 140.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005964/0.598, allocations: 2.696 MB / 0.7011 GB, free: 139.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.598, allocations: 5.594 kB / 0.7011 GB, free: 139.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002368/0.6004, allocations: 1.093 MB / 0.7021 GB, free: 139.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.6008, allocations: 49.92 kB / 0.7022 GB, free: 139.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003386/0.6042, allocations: 1.52 MB / 0.7037 GB, free: 138.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000601/0.6048, allocations: 1.035 MB / 0.7047 GB, free: 137.8 MB / 490.7 MB Notification: Performance of SimCode: time 2.2e-07/0.6048, allocations: 4 kB / 0.7047 GB, free: 137.8 MB / 490.7 MB Notification: Performance of Templates: time 0.02653/0.6314, allocations: 21.58 MB / 0.7258 GB, free: 136.9 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.sim & ./OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1)