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: "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_1.Example_1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_1_Example_1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_1.Example_1,fileNamePrefix="OpenIPSL_dev_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.002902/0.002902, allocations: 184.6 kB / 7.458 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.288/1.288, allocations: 221.4 MB / 229.3 MB, free: 3.027 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.001046/0.001046, allocations: 92.36 kB / 280.1 MB, free: 1.316 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4842/0.4842, allocations: 78.91 MB / 409.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1726/0.6568, allocations: 75.66 MB / 485.5 MB, free: 3.562 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/1.027, allocations: 69.49 MB / 0.5419 GB, free: 20.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1285/1.156, allocations: 98.85 MB / 0.6385 GB, free: 5.094 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/1.156, allocations: 75.95 kB / 0.6386 GB, free: 5.02 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.06711/1.223, allocations: 23.23 MB / 0.6612 GB, free: 13.55 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/1.223, allocations: 12 kB / 0.6612 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002671/1.226, allocations: 402.3 kB / 0.6616 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/1.228, allocations: 0.6134 MB / 0.6622 GB, free: 12.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001839/1.228, allocations: 126.4 kB / 0.6624 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/1.228, allocations: 40 kB / 0.6624 GB, free: 12.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001144/1.229, allocations: 0.5533 MB / 0.6629 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/1.23, allocations: 0.6133 MB / 0.6635 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/1.23, allocations: 4 kB / 0.6635 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.248e-05/1.23, allocations: 3.906 kB / 0.6635 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/1.23, allocations: 12 kB / 0.6635 GB, free: 11.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006274/1.237, allocations: 2.946 MB / 0.6664 GB, free: 8.012 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/1.238, allocations: 482.9 kB / 0.6669 GB, free: 7.531 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006428/1.239, allocations: 378.8 kB / 0.6672 GB, free: 7.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.912e-05/1.239, allocations: 16.64 kB / 0.6673 GB, free: 7.145 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/1.239, allocations: 35.22 kB / 0.6673 GB, free: 7.102 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 3.546e-06/1.239, allocations: 0 / 0.6673 GB, free: 7.102 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.006245/1.245, allocations: 1.984 MB / 0.6692 GB, free: 5.102 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/1.245, allocations: 85.77 kB / 0.6693 GB, free: 5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/1.246, allocations: 0.6213 MB / 0.6699 GB, free: 4.375 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002031/1.247, allocations: 25.7 kB / 0.6699 GB, free: 4.344 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00026/1.247, allocations: 260.6 kB / 0.6702 GB, free: 4.082 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004065/1.247, allocations: 224.6 kB / 0.6704 GB, free: 3.859 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.877e-05/1.247, allocations: 0 / 0.6704 GB, free: 3.859 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001971/1.248, allocations: 333.9 kB / 0.6707 GB, free: 3.527 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000722/1.248, allocations: 329.5 kB / 0.671 GB, free: 3.207 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000784/1.249, allocations: 422.6 kB / 0.6714 GB, free: 2.766 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007086/1.25, allocations: 363.8 kB / 0.6718 GB, free: 2.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/1.25, allocations: 0 / 0.6718 GB, free: 2.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00747/1.257, allocations: 2.211 MB / 0.674 GB, free: 184 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.2157/1.473, allocations: 0.698 MB / 0.6746 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/1.473, allocations: 7.781 kB / 0.6746 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004422/1.478, allocations: 1.039 MB / 0.6757 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006936/1.478, allocations: 113.6 kB / 0.6758 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007991/1.486, allocations: 4.126 MB / 0.6798 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/1.487, allocations: 118.7 kB / 0.6799 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.647e-05/1.488, allocations: 24.77 kB / 0.6799 GB, free: 142.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.639e-06/1.488, allocations: 6.031 kB / 0.6799 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006202/1.494, allocations: 2.086 MB / 0.682 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/1.494, allocations: 0 / 0.682 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003998/1.498, allocations: 1.04 MB / 0.683 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000644/1.499, allocations: 107.4 kB / 0.6831 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007603/1.506, allocations: 4.133 MB / 0.6871 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/1.507, allocations: 101.2 kB / 0.6872 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.52e-05/1.508, allocations: 27.34 kB / 0.6872 GB, free: 141.4 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.0003145/1.508, allocations: 126.1 kB / 0.6874 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/1.508, allocations: 87.81 kB / 0.6875 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005326/1.513, allocations: 2.055 MB / 0.6895 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/1.513, allocations: 6.875 kB / 0.6895 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.513, allocations: 7.875 kB / 0.6895 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/1.513, allocations: 7.562 kB / 0.6895 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006677/1.52, allocations: 3.199 MB / 0.6926 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/1.52, allocations: 0 / 0.6926 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005898/1.521, allocations: 85.88 kB / 0.6927 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002779/1.524, allocations: 0.876 MB / 0.6935 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.379e-05/1.524, allocations: 0 / 0.6935 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005477/1.529, allocations: 3.112 MB / 0.6966 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.529, allocations: 5.219 kB / 0.6966 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006664/1.536, allocations: 2.631 MB / 0.6992 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00768/1.543, allocations: 3.509 MB / 0.7026 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003994/1.544, allocations: 184.6 kB / 0.7028 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/1.544, allocations: 2.5 kB / 0.7028 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009042/1.545, allocations: 83.77 kB / 0.7028 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/1.545, allocations: 66.88 kB / 0.7029 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.474e-05/1.545, allocations: 15.91 kB / 0.7029 GB, free: 137.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007141/1.546, allocations: 485.4 kB / 0.7034 GB, free: 137.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003254/1.549, allocations: 453 kB / 0.7038 GB, free: 137.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.0003262/1.55, allocations: 138.5 kB / 0.7039 GB, free: 137.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007088/1.557, allocations: 2.7 MB / 0.7066 GB, free: 136.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.557, allocations: 3.094 kB / 0.7066 GB, free: 136.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002716/1.559, allocations: 1.089 MB / 0.7076 GB, free: 136.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007564/1.56, allocations: 48.8 kB / 0.7077 GB, free: 136.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004093/1.564, allocations: 1.538 MB / 0.7092 GB, free: 135.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006879/1.565, allocations: 1.057 MB / 0.7102 GB, free: 135.1 MB / 490.7 MB Notification: Performance of SimCode: time 8.32e-07/1.565, allocations: 0 / 0.7102 GB, free: 135.1 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_1_Example_1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_1_Example_1.fmu > OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1)