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: "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_1.Example_1,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_Tutorial_Example_1_Example_1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_1.Example_1,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_Tutorial_Example_1_Example_1",fmuType="me",version="2.0",platforms={"static"}) [: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.002248/0.002248, allocations: 182.6 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.063/1.063, allocations: 221.4 MB / 229.3 MB, free: 3.078 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.0008599/0.0008598, allocations: 106.6 kB / 280.1 MB, free: 1.305 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3642/0.3642, allocations: 78.09 MB / 409 MB, free: 15.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1184/0.4826, allocations: 75.5 MB / 484.5 MB, free: 4.449 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.7088, allocations: 69.35 MB / 0.5409 GB, free: 21.43 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09979/0.8086, allocations: 98.16 MB / 0.6367 GB, free: 6.754 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/0.8088, allocations: 79.94 kB / 0.6368 GB, free: 6.676 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.05837/0.8672, allocations: 23.03 MB / 0.6593 GB, free: 15.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.8673, allocations: 8 kB / 0.6593 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002203/0.8695, allocations: 403.6 kB / 0.6597 GB, free: 15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008492/0.8703, allocations: 0.6097 MB / 0.6603 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001567/0.8705, allocations: 134.4 kB / 0.6604 GB, free: 14.19 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.669e-05/0.8706, allocations: 32 kB / 0.6604 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009189/0.8715, allocations: 0.5494 MB / 0.661 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009847/0.8725, allocations: 0.6134 MB / 0.6616 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.8725, allocations: 3.938 kB / 0.6616 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/0.8726, allocations: 3.906 kB / 0.6616 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.8726, allocations: 16 kB / 0.6616 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004577/0.8772, allocations: 2.927 MB / 0.6644 GB, free: 9.887 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000991/0.8782, allocations: 494.9 kB / 0.6649 GB, free: 9.395 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005173/0.8788, allocations: 374.8 kB / 0.6653 GB, free: 9.027 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.749e-05/0.8788, allocations: 16.64 kB / 0.6653 GB, free: 9.012 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.8789, allocations: 47.16 kB / 0.6653 GB, free: 8.957 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 1.953e-06/0.8789, allocations: 3.938 kB / 0.6653 GB, free: 8.953 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.005617/0.8845, allocations: 1.981 MB / 0.6673 GB, free: 6.957 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.8846, allocations: 85.77 kB / 0.6673 GB, free: 6.855 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007424/0.8853, allocations: 0.6252 MB / 0.668 GB, free: 6.227 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.386e-05/0.8854, allocations: 25.7 kB / 0.668 GB, free: 6.195 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.8855, allocations: 252.6 kB / 0.6682 GB, free: 5.941 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002092/0.8858, allocations: 224.6 kB / 0.6684 GB, free: 5.719 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/0.8858, allocations: 0 / 0.6684 GB, free: 5.719 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.8859, allocations: 341.9 kB / 0.6688 GB, free: 5.379 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005246/0.8864, allocations: 325.6 kB / 0.6691 GB, free: 5.062 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000586/0.887, allocations: 422.5 kB / 0.6695 GB, free: 4.621 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005589/0.8876, allocations: 363.8 kB / 0.6698 GB, free: 4.266 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.8876, allocations: 0 / 0.6698 GB, free: 4.266 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006413/0.894, allocations: 2.207 MB / 0.672 GB, free: 2.039 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002124/0.8943, allocations: 0.7016 MB / 0.6727 GB, free: 1.285 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.8943, allocations: 4 kB / 0.6727 GB, free: 1.281 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004132/0.8984, allocations: 1.041 MB / 0.6737 GB, free: 240 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005623/0.899, allocations: 103.9 kB / 0.6738 GB, free: 136 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1387/1.038, allocations: 4.132 MB / 0.6778 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009384/1.039, allocations: 117.4 kB / 0.6779 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.43e-05/1.039, allocations: 22.41 kB / 0.678 GB, free: 144 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.491e-06/1.039, allocations: 3.594 kB / 0.678 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0058/1.045, allocations: 2.087 MB / 0.68 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/1.045, allocations: 3.75 kB / 0.68 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003826/1.048, allocations: 1.043 MB / 0.681 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004877/1.049, allocations: 102.8 kB / 0.6811 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007041/1.056, allocations: 4.13 MB / 0.6852 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009009/1.057, allocations: 107.1 kB / 0.6853 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.629e-05/1.057, allocations: 22.09 kB / 0.6853 GB, free: 142.7 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.000237/1.057, allocations: 121.4 kB / 0.6854 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/1.057, allocations: 92.09 kB / 0.6855 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005167/1.063, allocations: 2.049 MB / 0.6875 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/1.063, allocations: 7.469 kB / 0.6875 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/1.063, allocations: 7.203 kB / 0.6875 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/1.063, allocations: 3.422 kB / 0.6875 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006443/1.069, allocations: 3.213 MB / 0.6906 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/1.069, allocations: 0 / 0.6906 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005465/1.07, allocations: 89.52 kB / 0.6907 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002616/1.072, allocations: 0.8729 MB / 0.6916 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.134e-05/1.072, allocations: 7.875 kB / 0.6916 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004885/1.077, allocations: 3.108 MB / 0.6946 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.077, allocations: 3.906 kB / 0.6946 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005888/1.083, allocations: 2.623 MB / 0.6972 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006725/1.09, allocations: 3.512 MB / 0.7006 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002323/1.09, allocations: 186.9 kB / 0.7008 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/1.09, allocations: 2.094 kB / 0.7008 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008243/1.091, allocations: 77.11 kB / 0.7009 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/1.091, allocations: 64.25 kB / 0.7009 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.9e-05/1.091, allocations: 16.56 kB / 0.7009 GB, free: 139.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005519/1.092, allocations: 490.6 kB / 0.7014 GB, free: 139.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002382/1.094, allocations: 447.1 kB / 0.7018 GB, free: 139.1 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.0002238/1.095, allocations: 146.9 kB / 0.702 GB, free: 139 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006073/1.101, allocations: 2.694 MB / 0.7046 GB, free: 138.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.101, allocations: 5.469 kB / 0.7046 GB, free: 138.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002428/1.103, allocations: 1.088 MB / 0.7057 GB, free: 138 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/1.104, allocations: 51.61 kB / 0.7057 GB, free: 137.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003577/1.107, allocations: 1.534 MB / 0.7072 GB, free: 137.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005429/1.108, allocations: 1.062 MB / 0.7083 GB, free: 136.5 MB / 490.7 MB Notification: Performance of SimCode: time 6.71e-07/1.108, allocations: 4 kB / 0.7083 GB, free: 136.5 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_Tutorial_Example_1_Example_1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_Tutorial_Example_1_Example_1.fmu > OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1)