Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneTransfo.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/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.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(PowerSysPro.Tests.OneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneTransfo",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.0009974/0.0009975, allocations: 191.5 kB / 7.847 MB, free: 2.508 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.128/1.128, allocations: 221.4 MB / 229.7 MB, free: 3.07 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.0008966/0.0008967, allocations: 93.2 kB / 280.5 MB, free: 1.332 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03352/0.03352, allocations: 8.091 MB / 339.4 MB, free: 6.426 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.162/0.1956, allocations: 58.61 MB / 398 MB, free: 67.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06847/0.2641, allocations: 52.52 MB / 450.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2392/0.5033, allocations: 79 MB / 0.5171 GB, free: 15.12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.5036, allocations: 62.28 kB / 0.5172 GB, free: 15.1 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.01969/0.5233, allocations: 5.959 MB / 0.523 GB, free: 10.36 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.5234, allocations: 11.94 kB / 0.523 GB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.353e-05/0.5235, allocations: 15.81 kB / 0.523 GB, free: 10.33 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.5237, allocations: 214.4 kB / 0.5232 GB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.5237, allocations: 8 kB / 0.5232 GB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.5238, allocations: 8 kB / 0.5232 GB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002248/0.524, allocations: 104.8 kB / 0.5233 GB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.5242, allocations: 162.2 kB / 0.5235 GB, free: 9.895 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.5243, allocations: 0 / 0.5235 GB, free: 9.895 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.5243, allocations: 0 / 0.5235 GB, free: 9.895 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.5243, allocations: 7.938 kB / 0.5235 GB, free: 9.887 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008851/0.5252, allocations: 0.5175 MB / 0.524 GB, free: 9.418 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008563/0.5261, allocations: 158.5 kB / 0.5241 GB, free: 9.289 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.959e-05/0.5261, allocations: 32.48 kB / 0.5242 GB, free: 9.266 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/0.5263, allocations: 87.73 kB / 0.5243 GB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.5263, allocations: 38.55 kB / 0.5243 GB, free: 9.117 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.5263, allocations: 0 / 0.5243 GB, free: 9.117 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006694/0.527, allocations: 169.1 kB / 0.5245 GB, free: 8.977 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.5271, allocations: 78.92 kB / 0.5245 GB, free: 8.883 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.802e-05/0.5272, allocations: 124.6 kB / 0.5246 GB, free: 8.758 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.5272, allocations: 25.7 kB / 0.5247 GB, free: 8.727 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/0.5273, allocations: 126.7 kB / 0.5248 GB, free: 8.605 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.5273, allocations: 30.61 kB / 0.5248 GB, free: 8.578 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.525e-06/0.5273, allocations: 0 / 0.5248 GB, free: 8.578 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.5274, allocations: 314.6 kB / 0.5251 GB, free: 8.266 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.945e-05/0.5275, allocations: 27.88 kB / 0.5251 GB, free: 8.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.254e-05/0.5276, allocations: 54.23 kB / 0.5252 GB, free: 8.199 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.5277, allocations: 49.98 kB / 0.5252 GB, free: 8.164 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.5277, allocations: 0 / 0.5252 GB, free: 8.164 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006035/0.5283, allocations: 183.1 kB / 0.5254 GB, free: 8.012 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.5284, allocations: 4 kB / 0.5254 GB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.5284, allocations: 0 / 0.5254 GB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005085/0.5289, allocations: 84.25 kB / 0.5255 GB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.865e-05/0.529, allocations: 15.92 kB / 0.5255 GB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/0.5306, allocations: 1.409 MB / 0.5269 GB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.5307, allocations: 12.12 kB / 0.5269 GB, free: 6.488 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.5308, allocations: 4 kB / 0.5269 GB, free: 6.484 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.607e-05/0.5309, allocations: 111.4 kB / 0.527 GB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.5309, allocations: 7.906 kB / 0.527 GB, free: 6.363 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006738/0.5316, allocations: 215.1 kB / 0.5272 GB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.5316, allocations: 4 kB / 0.5272 GB, free: 6.191 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.5316, allocations: 0 / 0.5272 GB, free: 6.191 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.5316, allocations: 64 / 0.5272 GB, free: 6.191 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.5318, allocations: 210.2 kB / 0.5274 GB, free: 5.973 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5319, allocations: 0 / 0.5274 GB, free: 5.973 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.933e-05/0.5319, allocations: 20.27 kB / 0.5275 GB, free: 5.953 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004238/0.5324, allocations: 71.47 kB / 0.5275 GB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.5324, allocations: 8 kB / 0.5275 GB, free: 5.883 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/0.534, allocations: 1.406 MB / 0.5289 GB, free: 4.465 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.534, allocations: 0 / 0.5289 GB, free: 4.465 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000604/0.5347, allocations: 283.5 kB / 0.5292 GB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007302/0.5354, allocations: 0.6515 MB / 0.5298 GB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.503e-05/0.5355, allocations: 88.95 kB / 0.5299 GB, free: 3.473 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.5355, allocations: 3.984 kB / 0.5299 GB, free: 3.469 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.5356, allocations: 4 kB / 0.5299 GB, free: 3.465 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/0.5357, allocations: 15.23 kB / 0.5299 GB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.5357, allocations: 4 kB / 0.5299 GB, free: 3.449 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.243e-05/0.5357, allocations: 101.4 kB / 0.53 GB, free: 3.359 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008512/0.5366, allocations: 43.02 kB / 0.5301 GB, free: 3.32 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001981/0.5368, allocations: 111.2 kB / 0.5302 GB, free: 3.203 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006674/0.5375, allocations: 218.4 kB / 0.5304 GB, free: 3.008 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.5375, allocations: 4.062 kB / 0.5304 GB, free: 3.004 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000443/0.5379, allocations: 178.9 kB / 0.5305 GB, free: 2.836 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.5381, allocations: 4 kB / 0.5306 GB, free: 2.832 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003637/0.5385, allocations: 157.8 kB / 0.5307 GB, free: 2.668 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/0.5388, allocations: 0.727 MB / 0.5314 GB, free: 1.914 MB / 346.7 MB Notification: Performance of SimCode: time 5.41e-07/0.5388, allocations: 0 / 0.5314 GB, free: 1.914 MB / 346.7 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneTransfo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneTransfo.fmu > PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe 2>&1)