Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.StarDelta.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/HanserModelica 2.0.0-master/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) 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 HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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(HanserModelica.Electrical.StarDelta,fileNamePrefix="HanserModelica_HanserModelica_Electrical_StarDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.StarDelta,fileNamePrefix="HanserModelica_HanserModelica_Electrical_StarDelta",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.005154/0.005154, allocations: 183.6 kB / 7.46 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.07501/0.07501, allocations: 8.709 MB / 16.58 MB, free: 440 kB / 10.45 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.302/2.302, allocations: 221.4 MB / 240.5 MB, free: 8.152 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 97.3 kB / 293.5 MB, free: 5.473 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2225/0.2241, allocations: 58.66 MB / 352.2 MB, free: 10.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4758/0.6999, allocations: 52.53 MB / 404.7 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1624/0.8623, allocations: 84.16 MB / 488.9 MB, free: 6.465 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003972/0.8628, allocations: 63.97 kB / 488.9 MB, free: 6.402 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.4118/1.275, allocations: 23.57 MB / 0.5005 GB, free: 119.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.64e-05/1.275, allocations: 13.16 kB / 0.5005 GB, free: 119.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/1.276, allocations: 183.6 kB / 0.5007 GB, free: 119.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003024/1.279, allocations: 0.9916 MB / 0.5016 GB, free: 118.9 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.814e-05/1.279, allocations: 44.72 kB / 0.5017 GB, free: 118.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002456/1.279, allocations: 85.83 kB / 0.5018 GB, free: 118.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002737/1.282, allocations: 1.371 MB / 0.5031 GB, free: 118.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003257/1.285, allocations: 1.661 MB / 0.5047 GB, free: 118.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.982e-05/1.285, allocations: 3.562 kB / 0.5047 GB, free: 118.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001957/1.286, allocations: 6.125 kB / 0.5047 GB, free: 118.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.547e-05/1.286, allocations: 34.12 kB / 0.5048 GB, free: 118.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01423/1.3, allocations: 4.643 MB / 0.5093 GB, free: 117.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/1.301, allocations: 0.4917 MB / 0.5098 GB, free: 117.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/1.303, allocations: 0.6538 MB / 0.5104 GB, free: 117.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.967e-05/1.303, allocations: 10.84 kB / 0.5104 GB, free: 117.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001089/1.304, allocations: 0.5604 MB / 0.511 GB, free: 117.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 3.837e-06/1.304, allocations: 0 / 0.511 GB, free: 117.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=77): time 0.006513/1.311, allocations: 2.283 MB / 0.5132 GB, free: 117.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/1.311, allocations: 144.8 kB / 0.5133 GB, free: 116.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/1.312, allocations: 0.6744 MB / 0.514 GB, free: 116.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.197e-05/1.312, allocations: 27.73 kB / 0.514 GB, free: 116.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007468/1.313, allocations: 0.5073 MB / 0.5145 GB, free: 116.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002835/1.313, allocations: 246.6 kB / 0.5148 GB, free: 116.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/1.313, allocations: 0 / 0.5148 GB, free: 116.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003589/1.314, allocations: 389.8 kB / 0.5151 GB, free: 116 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006245/1.314, allocations: 400.9 kB / 0.5155 GB, free: 116 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007744/1.315, allocations: 0.5577 MB / 0.5161 GB, free: 115.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006885/1.316, allocations: 478.5 kB / 0.5165 GB, free: 115.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/1.316, allocations: 3.406 kB / 0.5165 GB, free: 115.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001981/1.318, allocations: 1.154 MB / 0.5176 GB, free: 115.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/1.318, allocations: 9.406 kB / 0.5177 GB, free: 115.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/1.318, allocations: 3.344 kB / 0.5177 GB, free: 115.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004925/1.318, allocations: 169.7 kB / 0.5178 GB, free: 115.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00079/1.319, allocations: 163.6 kB / 0.518 GB, free: 115.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003959/1.323, allocations: 2.589 MB / 0.5205 GB, free: 114.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009937/1.324, allocations: 36.88 kB / 0.5205 GB, free: 114.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-05/1.324, allocations: 28.16 kB / 0.5206 GB, free: 114.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare[3].mean.y_last,rootMeanSquare[3].mean.y_last,$PRE.rootMeanSquare[2].mean.y_last,rootMeanSquare[2].mean.y_last,$PRE.rootMeanSquare[1].mean.y_last,rootMeanSquare[1].mean.y_last,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * 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 {(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002827/1.325, allocations: 136.5 kB / 0.5207 GB, free: 114.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/1.325, allocations: 83.34 kB / 0.5208 GB, free: 114.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003265/1.325, allocations: 96.88 kB / 0.5209 GB, free: 114.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/1.325, allocations: 7.625 kB / 0.5209 GB, free: 114.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-05/1.325, allocations: 3.719 kB / 0.5209 GB, free: 114.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/1.325, allocations: 11.42 kB / 0.5209 GB, free: 114.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005085/1.33, allocations: 2.37 MB / 0.5232 GB, free: 113.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/1.33, allocations: 2.188 kB / 0.5232 GB, free: 113.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007571/1.331, allocations: 125.3 kB / 0.5233 GB, free: 113.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005156/1.332, allocations: 160.6 kB / 0.5235 GB, free: 113.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.888e-05/1.332, allocations: 23.27 kB / 0.5235 GB, free: 113.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003229/1.335, allocations: 2.604 MB / 0.526 GB, free: 112.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.859e-06/1.335, allocations: 3.094 kB / 0.5261 GB, free: 112.6 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002814/1.338, allocations: 1.798 MB / 0.5278 GB, free: 112.1 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005041/1.343, allocations: 2.789 MB / 0.5305 GB, free: 110.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009449/1.344, allocations: 256.9 kB / 0.5308 GB, free: 110.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003076/1.344, allocations: 20.06 kB / 0.5308 GB, free: 110.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008099/1.345, allocations: 40.09 kB / 0.5308 GB, free: 110.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000215/1.345, allocations: 58.69 kB / 0.5309 GB, free: 110.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.595e-05/1.345, allocations: 24.38 kB / 0.5309 GB, free: 110.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0009915/1.346, allocations: 0.5223 MB / 0.5314 GB, free: 110.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002819/1.349, allocations: 234.7 kB / 0.5316 GB, free: 110.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (inductorLoad.inductor[1].i,inductorLoad.inductor[2].i,inductorLoad.inductor[3].i,rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rootMeanSquare[1].mean.y_last,rootMeanSquare[2].mean.y_last,rootMeanSquare[3].mean.y_last) * Number of discrete states: 3 (rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 {(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003332/1.35, allocations: 116.4 kB / 0.5318 GB, free: 110.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002429/1.352, allocations: 1.081 MB / 0.5328 GB, free: 109.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.352, allocations: 3.562 kB / 0.5328 GB, free: 109.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001153/1.353, allocations: 0.6522 MB / 0.5335 GB, free: 109.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/1.355, allocations: 152.7 kB / 0.5336 GB, free: 109.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006228/1.361, allocations: 2.349 MB / 0.5359 GB, free: 108.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001549/1.363, allocations: 1.596 MB / 0.5374 GB, free: 107.8 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/1.363, allocations: 2.516 kB / 0.5375 GB, free: 107.8 MB / 378.7 MB (rm -f HanserModelica_HanserModelica.Electrical.StarDelta.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.StarDelta.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.StarDelta.pipe >> ../files/HanserModelica_HanserModelica.Electrical.StarDelta.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Electrical_StarDelta_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Electrical_StarDelta.fmu > HanserModelica_HanserModelica.Electrical.StarDelta.pipe 2>&1)