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: "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_1.Example_1,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_Tutorial_Example_1_Example_1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_1.Example_1,fileNamePrefix="OpenIPSL_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.003191/0.003191, allocations: 182.9 kB / 7.459 MB, free: 2.516 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.008 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.0009044/0.0009045, allocations: 95.41 kB / 280.1 MB, free: 1.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4664/0.4664, allocations: 78.06 MB / 408.9 MB, free: 15.51 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1566/0.6231, allocations: 75.49 MB / 484.4 MB, free: 4.324 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.9793, allocations: 69.35 MB / 0.5408 GB, free: 21.36 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1341/1.114, allocations: 98.17 MB / 0.6367 GB, free: 6.699 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/1.114, allocations: 75.95 kB / 0.6368 GB, free: 6.625 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.06548/1.179, allocations: 23.03 MB / 0.6592 GB, free: 15.35 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/1.179, allocations: 8 kB / 0.6593 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002592/1.182, allocations: 403.6 kB / 0.6596 GB, free: 14.95 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/1.183, allocations: 0.6056 MB / 0.6602 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/1.183, allocations: 130.4 kB / 0.6604 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/1.183, allocations: 35.98 kB / 0.6604 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001054/1.185, allocations: 0.5533 MB / 0.6609 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/1.186, allocations: 0.6095 MB / 0.6615 GB, free: 12.94 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/1.186, allocations: 7.938 kB / 0.6615 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.977e-05/1.186, allocations: 3.906 kB / 0.6615 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/1.186, allocations: 12 kB / 0.6615 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005371/1.191, allocations: 2.933 MB / 0.6644 GB, free: 9.836 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/1.192, allocations: 494.9 kB / 0.6649 GB, free: 9.344 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000676/1.193, allocations: 382.2 kB / 0.6652 GB, free: 8.973 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.971e-05/1.193, allocations: 8.656 kB / 0.6653 GB, free: 8.965 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.317e-05/1.193, allocations: 43.2 kB / 0.6653 GB, free: 8.914 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 3.497e-06/1.193, allocations: 4 kB / 0.6653 GB, free: 8.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.006196/1.199, allocations: 1.981 MB / 0.6672 GB, free: 6.91 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/1.199, allocations: 85.77 kB / 0.6673 GB, free: 6.809 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/1.201, allocations: 0.6213 MB / 0.6679 GB, free: 6.184 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002033/1.201, allocations: 29.7 kB / 0.668 GB, free: 6.148 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/1.201, allocations: 248.6 kB / 0.6682 GB, free: 5.898 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003319/1.201, allocations: 228.6 kB / 0.6684 GB, free: 5.672 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-05/1.201, allocations: 0 / 0.6684 GB, free: 5.672 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001709/1.202, allocations: 341.8 kB / 0.6687 GB, free: 5.332 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006785/1.202, allocations: 329.5 kB / 0.669 GB, free: 5.012 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006494/1.203, allocations: 410.6 kB / 0.6694 GB, free: 4.582 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006749/1.204, allocations: 371.7 kB / 0.6698 GB, free: 4.223 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/1.204, allocations: 0 / 0.6698 GB, free: 4.223 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.007422/1.211, allocations: 2.211 MB / 0.672 GB, free: 1.992 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003252/1.211, allocations: 0.6978 MB / 0.6726 GB, free: 1.238 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/1.211, allocations: 8 kB / 0.6726 GB, free: 1.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004611/1.216, allocations: 1.041 MB / 0.6737 GB, free: 188 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007294/1.217, allocations: 107.8 kB / 0.6738 GB, free: 80 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2035/1.42, allocations: 4.133 MB / 0.6778 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/1.422, allocations: 114.4 kB / 0.6779 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.778e-05/1.422, allocations: 28.94 kB / 0.6779 GB, free: 144.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/1.422, allocations: 3.188 kB / 0.6779 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006195/1.428, allocations: 2.089 MB / 0.68 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/1.428, allocations: 5.75 kB / 0.68 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004077/1.432, allocations: 1.041 MB / 0.681 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005448/1.433, allocations: 100.4 kB / 0.6811 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007646/1.44, allocations: 4.126 MB / 0.6851 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/1.441, allocations: 104.1 kB / 0.6852 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.816e-05/1.441, allocations: 22.75 kB / 0.6852 GB, free: 142.9 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.0002673/1.442, allocations: 120.3 kB / 0.6854 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/1.442, allocations: 92.33 kB / 0.6854 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005429/1.447, allocations: 2.055 MB / 0.6875 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/1.447, allocations: 14.86 kB / 0.6875 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.447, allocations: 3.219 kB / 0.6875 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/1.447, allocations: 3.281 kB / 0.6875 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006851/1.454, allocations: 3.207 MB / 0.6906 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/1.454, allocations: 0 / 0.6906 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006051/1.455, allocations: 86.06 kB / 0.6907 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002764/1.458, allocations: 0.8714 MB / 0.6915 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-05/1.458, allocations: 7.781 kB / 0.6915 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005221/1.463, allocations: 3.11 MB / 0.6946 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/1.463, allocations: 7.812 kB / 0.6946 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006424/1.469, allocations: 2.616 MB / 0.6971 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007575/1.477, allocations: 3.513 MB / 0.7006 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003502/1.477, allocations: 184.2 kB / 0.7008 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/1.478, allocations: 2.844 kB / 0.7008 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008754/1.478, allocations: 77.94 kB / 0.7008 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/1.479, allocations: 64.81 kB / 0.7009 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.366e-05/1.479, allocations: 15.41 kB / 0.7009 GB, free: 139.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006699/1.479, allocations: 490.9 kB / 0.7014 GB, free: 139.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002664/1.482, allocations: 448 kB / 0.7018 GB, free: 139.3 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.0003086/1.482, allocations: 145.2 kB / 0.7019 GB, free: 139.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006967/1.489, allocations: 2.702 MB / 0.7046 GB, free: 138.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.363e-06/1.489, allocations: 1.062 kB / 0.7046 GB, free: 138.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002635/1.492, allocations: 1.093 MB / 0.7056 GB, free: 138 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007227/1.493, allocations: 48.84 kB / 0.7057 GB, free: 138 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004544/1.497, allocations: 1.536 MB / 0.7072 GB, free: 137.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000727/1.498, allocations: 1.061 MB / 0.7082 GB, free: 136.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.453e-06/1.498, allocations: 0 / 0.7082 GB, free: 136.5 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_Tutorial_Example_1_Example_1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_Tutorial_Example_1_Example_1.fmu > OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1)