Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_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_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.002197/0.002197, allocations: 182.5 kB / 7.455 MB, free: 2.512 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.284/1.284, 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.0009552/0.0009552, allocations: 103 kB / 280.1 MB, free: 1.309 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.47/0.47, allocations: 78.06 MB / 408.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.46e-06/5.49e-06, allocations: 0 / 484.3 MB, free: 4.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2736, allocations: 69.35 MB / 0.5407 GB, free: 21.38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1181/0.3918, allocations: 98.17 MB / 0.6366 GB, free: 6.559 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.392, allocations: 79.94 kB / 0.6367 GB, free: 6.48 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.0644/0.4565, allocations: 21.72 MB / 0.6579 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.09e-05/0.4565, allocations: 12 kB / 0.6579 GB, free: 0.5469 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.003241/0.4598, allocations: 1.299 MB / 0.6592 GB, free: 15.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.4598, allocations: 8.031 kB / 0.6592 GB, free: 15.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002554/0.4624, allocations: 406.3 kB / 0.6595 GB, free: 14.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.4634, allocations: 0.5978 MB / 0.6601 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001748/0.4636, allocations: 138.4 kB / 0.6603 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.4637, allocations: 35.94 kB / 0.6603 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001071/0.4648, allocations: 0.5571 MB / 0.6608 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.466, allocations: 0.6133 MB / 0.6614 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.4661, allocations: 0 / 0.6614 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.158e-05/0.4661, allocations: 3.906 kB / 0.6614 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.4662, allocations: 12 kB / 0.6615 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005498/0.4717, allocations: 2.942 MB / 0.6643 GB, free: 9.68 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.4728, allocations: 494.9 kB / 0.6648 GB, free: 9.188 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005967/0.4734, allocations: 374.8 kB / 0.6652 GB, free: 8.82 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.623e-05/0.4735, allocations: 8.656 kB / 0.6652 GB, free: 8.812 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.4735, allocations: 39.22 kB / 0.6652 GB, free: 8.766 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 2.405e-06/0.4735, allocations: 0 / 0.6652 GB, free: 8.766 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.006117/0.4797, allocations: 1.984 MB / 0.6671 GB, free: 6.762 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.4797, allocations: 85.77 kB / 0.6672 GB, free: 6.66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008758/0.4806, allocations: 0.6174 MB / 0.6678 GB, free: 6.039 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.77e-05/0.4807, allocations: 29.7 kB / 0.6679 GB, free: 6.004 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.4809, allocations: 256.6 kB / 0.6681 GB, free: 5.746 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002388/0.4811, allocations: 224.6 kB / 0.6683 GB, free: 5.523 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.343e-05/0.4812, allocations: 0 / 0.6683 GB, free: 5.523 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.4813, allocations: 337.9 kB / 0.6686 GB, free: 5.188 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005756/0.4819, allocations: 329.5 kB / 0.6689 GB, free: 4.867 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00065/0.4826, allocations: 418.6 kB / 0.6693 GB, free: 4.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006539/0.4832, allocations: 367.8 kB / 0.6697 GB, free: 4.074 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.4832, allocations: 0 / 0.6697 GB, free: 4.074 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.007228/0.4905, allocations: 2.207 MB / 0.6719 GB, free: 1.848 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002684/0.4908, allocations: 0.7056 MB / 0.6725 GB, free: 1.086 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.4908, allocations: 4 kB / 0.6725 GB, free: 1.082 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005216/0.496, allocations: 1.035 MB / 0.6736 GB, free: 40 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1531/0.6491, allocations: 108.5 kB / 0.6737 GB, free: 145.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008083/0.6572, allocations: 4.134 MB / 0.6777 GB, free: 144.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.6583, allocations: 112 kB / 0.6778 GB, free: 144.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.073e-05/0.6584, allocations: 26.55 kB / 0.6778 GB, free: 144.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.983e-06/0.6585, allocations: 3.156 kB / 0.6778 GB, free: 144.4 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006441/0.6649, allocations: 2.085 MB / 0.6799 GB, free: 144.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.6649, allocations: 7.031 kB / 0.6799 GB, free: 144.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004192/0.6691, allocations: 1.042 MB / 0.6809 GB, free: 144.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005941/0.6697, allocations: 100 kB / 0.681 GB, free: 144.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007798/0.6775, allocations: 4.137 MB / 0.685 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.6786, allocations: 108.3 kB / 0.6851 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.446e-05/0.6787, allocations: 27.12 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.00024/0.679, allocations: 119.6 kB / 0.6853 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.6791, allocations: 86.72 kB / 0.6854 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005669/0.6848, allocations: 2.054 MB / 0.6874 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.6848, allocations: 7.312 kB / 0.6874 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.6849, allocations: 3.844 kB / 0.6874 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.6849, allocations: 7.594 kB / 0.6874 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007236/0.6921, allocations: 3.202 MB / 0.6905 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.6921, allocations: 3.625 kB / 0.6905 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006598/0.6928, allocations: 92.05 kB / 0.6906 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002894/0.6957, allocations: 0.8675 MB / 0.6914 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.687e-05/0.6958, allocations: 7.75 kB / 0.6914 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005474/0.7013, allocations: 3.114 MB / 0.6945 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.7013, allocations: 0 / 0.6945 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006785/0.7081, allocations: 2.619 MB / 0.697 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002706/0.7084, allocations: 185.8 kB / 0.6972 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001759/0.7086, allocations: 5.219 kB / 0.6972 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009537/0.7096, allocations: 77.91 kB / 0.6973 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/0.7098, allocations: 61.31 kB / 0.6974 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.541e-05/0.7098, allocations: 15.97 kB / 0.6974 GB, free: 140.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006098/0.7105, allocations: 487.9 kB / 0.6978 GB, free: 140.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001347/0.7118, allocations: 442.4 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.0002499/0.7121, allocations: 143.3 kB / 0.6984 GB, free: 140.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006877/0.719, allocations: 2.699 MB / 0.701 GB, free: 139.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.719, allocations: 3.656 kB / 0.701 GB, free: 139.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00273/0.7217, allocations: 1.089 MB / 0.7021 GB, free: 139 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005858/0.7223, allocations: 53.48 kB / 0.7022 GB, free: 139 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003999/0.7263, allocations: 1.519 MB / 0.7036 GB, free: 138.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006061/0.727, allocations: 1.039 MB / 0.7047 GB, free: 137.8 MB / 490.7 MB Notification: Performance of SimCode: time 7.32e-07/0.727, allocations: 3.562 kB / 0.7047 GB, free: 137.8 MB / 490.7 MB Notification: Performance of Templates: time 0.0314/0.7584, allocations: 21.57 MB / 0.7257 GB, free: 136.9 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.sim & ./OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1)