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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007122/0.007121, allocations: 172 kB / 15.12 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03949/0.03949, allocations: 8.795 MB / 24.65 MB, free: 4.086 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 223.2 MB / 250.7 MB, free: 6.57 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.0008956/0.0008953, allocations: 99.47 kB / 304 MB, free: 4.016 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003683, allocations: 12 kB / 367.2 MB, free: 4.848 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2317, allocations: 52.53 MB / 419.7 MB, free: 48.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09755/0.3293, allocations: 84.96 MB / 0.4928 GB, free: 4.102 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/0.3295, allocations: 73.94 kB / 0.4929 GB, free: 4.031 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05794/0.3875, allocations: 22.46 MB / 0.5148 GB, free: 13.44 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3875, allocations: 0 / 0.5148 GB, free: 13.44 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001311/0.3877, allocations: 39.94 kB / 0.5149 GB, free: 13.4 MB / 394.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.004159/0.3918, allocations: 1.636 MB / 0.5165 GB, free: 11.71 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.3919, allocations: 8.562 kB / 0.5165 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000608/0.3925, allocations: 210.8 kB / 0.5167 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006462/0.3932, allocations: 182 kB / 0.5168 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002384/0.3956, allocations: 0.9851 MB / 0.5178 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.3957, allocations: 102.8 kB / 0.5179 GB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002988/0.396, allocations: 143.9 kB / 0.518 GB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003699/0.3997, allocations: 1.883 MB / 0.5199 GB, free: 8.078 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.104e-05/0.3998, allocations: 0 / 0.5199 GB, free: 8.078 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001729/0.4, allocations: 63.98 kB / 0.5199 GB, free: 8.016 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.343e-05/0.4, allocations: 36 kB / 0.52 GB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002829/0.4028, allocations: 1.482 MB / 0.5214 GB, free: 6.492 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008222/0.4111, allocations: 4.867 MB / 0.5262 GB, free: 1.512 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.4129, allocations: 1.849 MB / 0.528 GB, free: 15.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.625e-05/0.413, allocations: 8.656 kB / 0.528 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000945/0.4139, allocations: 0.6166 MB / 0.5286 GB, free: 14.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=74): time 5.62e-06/0.414, allocations: 4 kB / 0.5286 GB, free: 14.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=77): time 0.004867/0.4188, allocations: 2.922 MB / 0.5315 GB, free: 11.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.793e-05/0.4189, allocations: 137.2 kB / 0.5316 GB, free: 11.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009176/0.4198, allocations: 0.7221 MB / 0.5323 GB, free: 10.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.226e-05/0.4199, allocations: 45.69 kB / 0.5323 GB, free: 10.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000498/0.4204, allocations: 0.6044 MB / 0.5329 GB, free: 10.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.4206, allocations: 260.3 kB / 0.5332 GB, free: 9.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.4207, allocations: 16 kB / 0.5332 GB, free: 9.965 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.4209, allocations: 398.7 kB / 0.5336 GB, free: 9.566 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006118/0.4215, allocations: 409.7 kB / 0.534 GB, free: 9.164 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007354/0.4222, allocations: 0.5758 MB / 0.5345 GB, free: 8.523 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007033/0.4229, allocations: 494.8 kB / 0.535 GB, free: 8.043 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4229, allocations: 3.938 kB / 0.535 GB, free: 8.039 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001881/0.4248, allocations: 1.223 MB / 0.5362 GB, free: 6.805 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.4249, allocations: 14.73 kB / 0.5362 GB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.4249, allocations: 4 kB / 0.5362 GB, free: 6.789 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00037/0.4253, allocations: 168.7 kB / 0.5364 GB, free: 6.621 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006274/0.4259, allocations: 159.8 kB / 0.5365 GB, free: 6.465 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002953/0.4289, allocations: 2.798 MB / 0.5393 GB, free: 3.531 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005202/0.4294, allocations: 55.95 kB / 0.5393 GB, free: 3.477 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/0.4295, allocations: 31.94 kB / 0.5393 GB, free: 3.445 MB / 410.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 () * Number of clocked 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.0008558/0.4303, allocations: 0.5561 MB / 0.5399 GB, free: 2.879 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.4305, allocations: 83.02 kB / 0.54 GB, free: 2.797 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002117/0.4307, allocations: 108.3 kB / 0.5401 GB, free: 2.688 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.4307, allocations: 8 kB / 0.5401 GB, free: 2.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.4307, allocations: 4 kB / 0.5401 GB, free: 2.676 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.4307, allocations: 3.984 kB / 0.5401 GB, free: 2.672 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004051/0.4348, allocations: 2.672 MB / 0.5427 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.4348, allocations: 4 kB / 0.5427 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000511/0.4353, allocations: 123.9 kB / 0.5428 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003429/0.4357, allocations: 156.6 kB / 0.543 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.632e-05/0.4357, allocations: 23.98 kB / 0.543 GB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002803/0.4385, allocations: 2.767 MB / 0.5457 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4386, allocations: 0 / 0.5457 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002478/0.4411, allocations: 1.805 MB / 0.5474 GB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005071/0.4416, allocations: 256 kB / 0.5477 GB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.4417, allocations: 32.11 kB / 0.5477 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004088/0.4421, allocations: 55.92 kB / 0.5478 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.4423, allocations: 76.53 kB / 0.5478 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.583e-05/0.4423, allocations: 20 kB / 0.5479 GB, free: 10.42 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006925/0.443, allocations: 0.5692 MB / 0.5484 GB, free: 9.855 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.443, allocations: 0 / 0.5484 GB, free: 9.855 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008966/0.4439, allocations: 264 kB / 0.5487 GB, free: 9.598 MB / 426.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) * Number of clocked states: 0 () * 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.002739/0.4467, allocations: 2.587 MB / 0.5512 GB, free: 6.961 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001823/0.4485, allocations: 1.151 MB / 0.5523 GB, free: 5.797 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.4485, allocations: 3.938 kB / 0.5523 GB, free: 5.793 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.4496, allocations: 0.6979 MB / 0.553 GB, free: 5.086 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008828/0.4505, allocations: 198.6 kB / 0.5532 GB, free: 4.898 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1737/0.6242, allocations: 6.561 MB / 0.5596 GB, free: 115.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/0.6256, allocations: 1.53 MB / 0.5611 GB, free: 114.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007736/0.6264, allocations: 215.7 kB / 0.5613 GB, free: 114.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000535/0.627, allocations: 462.6 kB / 0.5617 GB, free: 114.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.262e-06/0.627, allocations: 0.875 kB / 0.5617 GB, free: 114.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04072/0.6677, allocations: 21.56 MB / 0.5828 GB, free: 113.2 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001447/0.6679, allocations: 182.2 kB / 0.583 GB, free: 112.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.291/2.958, allocations: 0 / 0.583 GB, free: 112.9 MB / 426.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)