Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_1.Example_1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_Tutorial_Example_1_Example_1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_1.Example_1,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.003498/0.003498, allocations: 181.5 kB / 7.462 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 205.2 MB / 213.1 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008609/0.000861, allocations: 88.75 kB / 261.1 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06459/0.06459, allocations: 12.19 MB / 321.2 MB, free: 1.371 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2943/0.2943, allocations: 78.04 MB / 449.9 MB, free: 3.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3069/0.6013, allocations: 76.1 MB / 0.5137 GB, free: 30.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.7512, allocations: 69.23 MB / 0.5813 GB, free: 9.164 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4444/1.196, allocations: 99.66 MB / 0.6786 GB, free: 9.074 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/1.196, allocations: 81.31 kB / 0.6787 GB, free: 9.059 MB / 426.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.06473/1.261, allocations: 22.39 MB / 0.7006 GB, free: 6.617 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/1.261, allocations: 11.94 kB / 0.7006 GB, free: 6.605 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002726/1.264, allocations: 397.4 kB / 0.7009 GB, free: 6.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001572/1.265, allocations: 0.6138 MB / 0.7015 GB, free: 5.734 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002263/1.265, allocations: 138.3 kB / 0.7017 GB, free: 5.578 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002346/1.266, allocations: 35.91 kB / 0.7017 GB, free: 5.543 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001236/1.267, allocations: 0.5533 MB / 0.7023 GB, free: 5.223 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/1.268, allocations: 0.6065 MB / 0.7028 GB, free: 4.801 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/1.268, allocations: 0 / 0.7028 GB, free: 4.801 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.413e-05/1.268, allocations: 0 / 0.7028 GB, free: 4.801 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/1.268, allocations: 16 kB / 0.7029 GB, free: 4.785 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005722/1.274, allocations: 2.956 MB / 0.7057 GB, free: 2.477 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/1.275, allocations: 487.4 kB / 0.7062 GB, free: 2.168 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005668/1.276, allocations: 373.6 kB / 0.7066 GB, free: 1.977 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.651e-05/1.276, allocations: 8.641 kB / 0.7066 GB, free: 1.969 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/1.276, allocations: 41.09 kB / 0.7066 GB, free: 1.926 MB / 442.7 MB Notification: Performance of pre-optimization done (n=64): time 3.476e-06/1.276, allocations: 0 / 0.7066 GB, free: 1.926 MB / 442.7 MB Notification: Performance of matching and sorting (n=64): time 0.00622/1.282, allocations: 1.994 MB / 0.7086 GB, free: 272 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.646e-05/1.282, allocations: 85.2 kB / 0.7086 GB, free: 172 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/1.284, allocations: 0.6169 MB / 0.7092 GB, free: 15.72 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001807/1.284, allocations: 25.7 kB / 0.7093 GB, free: 15.69 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/1.284, allocations: 255 kB / 0.7095 GB, free: 15.47 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003866/1.284, allocations: 229 kB / 0.7097 GB, free: 15.27 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.137e-05/1.284, allocations: 0 / 0.7097 GB, free: 15.27 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/1.285, allocations: 339.9 kB / 0.7101 GB, free: 14.94 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005977/1.285, allocations: 325.2 kB / 0.7104 GB, free: 14.78 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000643/1.286, allocations: 417.8 kB / 0.7108 GB, free: 14.52 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006563/1.287, allocations: 362 kB / 0.7111 GB, free: 14.32 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/1.287, allocations: 4 kB / 0.7111 GB, free: 14.31 MB / 458.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.007133/1.294, allocations: 2.211 MB / 0.7133 GB, free: 12.48 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002902/1.294, allocations: 0.7115 MB / 0.714 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/1.294, allocations: 4 kB / 0.714 GB, free: 11.72 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00458/1.299, allocations: 1.034 MB / 0.715 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007853/1.299, allocations: 107.3 kB / 0.7151 GB, free: 10.72 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009191/1.309, allocations: 4.135 MB / 0.7191 GB, free: 7.527 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/1.31, allocations: 115.4 kB / 0.7192 GB, free: 7.414 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001865/1.31, allocations: 23.5 kB / 0.7193 GB, free: 7.395 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/1.31, allocations: 4 kB / 0.7193 GB, free: 7.391 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00702/1.317, allocations: 2.087 MB / 0.7213 GB, free: 5.684 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/1.317, allocations: 8 kB / 0.7213 GB, free: 5.676 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004495/1.322, allocations: 1.039 MB / 0.7223 GB, free: 4.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007166/1.323, allocations: 107.3 kB / 0.7224 GB, free: 4.668 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009129/1.332, allocations: 4.128 MB / 0.7265 GB, free: 1.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/1.333, allocations: 107.4 kB / 0.7266 GB, free: 1.375 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002134/1.334, allocations: 30.73 kB / 0.7266 GB, free: 1.352 MB / 458.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.0004132/1.334, allocations: 116.9 kB / 0.7267 GB, free: 1.23 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003831/1.334, allocations: 90.88 kB / 0.7268 GB, free: 1.141 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006016/1.34, allocations: 2.056 MB / 0.7288 GB, free: 15.47 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/1.341, allocations: 4 kB / 0.7288 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.698e-05/1.341, allocations: 4 kB / 0.7288 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.09e-05/1.341, allocations: 3.984 kB / 0.7288 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008858/1.349, allocations: 3.203 MB / 0.7319 GB, free: 12.94 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/1.35, allocations: 0 / 0.7319 GB, free: 12.94 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007731/1.35, allocations: 79.16 kB / 0.732 GB, free: 12.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003052/1.353, allocations: 0.8772 MB / 0.7329 GB, free: 12.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000135/1.354, allocations: 5.625 kB / 0.7329 GB, free: 12.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006472/1.36, allocations: 3.117 MB / 0.7359 GB, free: 8.984 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/1.36, allocations: 4 kB / 0.7359 GB, free: 8.98 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007364/1.367, allocations: 2.621 MB / 0.7385 GB, free: 6.312 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008005/1.376, allocations: 3.516 MB / 0.7419 GB, free: 2.742 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004838/1.376, allocations: 187.8 kB / 0.7421 GB, free: 2.539 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003602/1.376, allocations: 4 kB / 0.7421 GB, free: 2.535 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/1.378, allocations: 79.92 kB / 0.7422 GB, free: 2.457 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002074/1.378, allocations: 60.55 kB / 0.7422 GB, free: 2.398 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.76e-05/1.378, allocations: 16 kB / 0.7422 GB, free: 2.383 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0008472/1.379, allocations: 495.2 kB / 0.7427 GB, free: 1.902 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003079/1.382, allocations: 443.3 kB / 0.7431 GB, free: 1.469 MB / 474.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.0003077/1.382, allocations: 134 kB / 0.7433 GB, free: 1.332 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007182/1.389, allocations: 2.707 MB / 0.7459 GB, free: 14.52 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.375e-06/1.39, allocations: 0 / 0.7459 GB, free: 14.52 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002913/1.392, allocations: 1.094 MB / 0.747 GB, free: 13.37 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/1.394, allocations: 55.77 kB / 0.747 GB, free: 13.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005005/1.399, allocations: 1.532 MB / 0.7485 GB, free: 11.75 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/1.4, allocations: 1.058 MB / 0.7496 GB, free: 10.66 MB / 490.7 MB Notification: Performance of SimCode: time 1.613e-06/1.4, allocations: 3.938 kB / 0.7496 GB, free: 10.65 MB / 490.7 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_Tutorial_Example_1_Example_1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_Tutorial_Example_1_Example_1.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1)