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/ModelicaServices 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/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) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007861/0.007867, allocations: 100.2 kB / 15.73 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 239.4 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 196.5 kB / 289.7 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03434/0.03434, allocations: 8.799 MB / 348.7 MB, free: 4.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 79.88 kB / 463.4 MB, free: 13.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1053, allocations: 51.55 MB / 0.5029 GB, free: 10.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.007383/0.1127, allocations: 4.035 MB / 0.5068 GB, free: 6.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002799/0.1156, allocations: 1.094 MB / 0.5079 GB, free: 4.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006043/0.1162, allocations: 23.88 kB / 0.5079 GB, free: 4.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005406/0.1168, allocations: 170.6 kB / 0.5081 GB, free: 4.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001205/0.118, allocations: 274.5 kB / 0.5084 GB, free: 4.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005315/0.1186, allocations: 171.7 kB / 0.5085 GB, free: 4.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001837/0.1204, allocations: 1.596 MB / 0.5101 GB, free: 2.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001835/0.1223, allocations: 1.503 MB / 0.5115 GB, free: 1.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009472/0.1232, allocations: 0.7554 MB / 0.5123 GB, free: 452 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001531/0.1248, allocations: 0.8678 MB / 0.5131 GB, free: 15.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005471/0.1254, allocations: 195.9 kB / 0.5133 GB, free: 15.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007317/0.1261, allocations: 208 kB / 0.5135 GB, free: 15.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008271/0.1269, allocations: 0.5143 MB / 0.514 GB, free: 14.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001642/0.1286, allocations: 0.8633 MB / 0.5149 GB, free: 13.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002595/0.1312, allocations: 2.45 MB / 0.5173 GB, free: 11.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1312, allocations: 0 / 0.5173 GB, free: 11.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1312, allocations: 0 / 0.5173 GB, free: 11.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.393e-05/0.1313, allocations: 0 / 0.5173 GB, free: 11.34 MB / 366.1 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.003272/0.1346, allocations: 1.876 MB / 0.5191 GB, free: 9.406 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.1346, allocations: 8.031 kB / 0.5191 GB, free: 9.398 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002348/0.1349, allocations: 215 kB / 0.5193 GB, free: 9.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003184/0.1352, allocations: 175 kB / 0.5195 GB, free: 9.008 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.1367, allocations: 1.025 MB / 0.5205 GB, free: 7.941 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-05/0.1367, allocations: 103.1 kB / 0.5206 GB, free: 7.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001901/0.1369, allocations: 151.9 kB / 0.5207 GB, free: 7.691 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002766/0.1397, allocations: 1.921 MB / 0.5226 GB, free: 5.734 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/0.1398, allocations: 0 / 0.5226 GB, free: 5.734 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/0.1399, allocations: 56 kB / 0.5226 GB, free: 5.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/0.1399, allocations: 43.94 kB / 0.5227 GB, free: 5.637 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00249/0.1424, allocations: 1.592 MB / 0.5242 GB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2066/0.349, allocations: 4.779 MB / 0.5289 GB, free: 22.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.3505, allocations: 1.834 MB / 0.5307 GB, free: 21.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009835/0.3514, allocations: 0.6617 MB / 0.5313 GB, free: 21.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.282e-05/0.3515, allocations: 7.734 kB / 0.5313 GB, free: 21.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008685/0.3524, allocations: 0.6109 MB / 0.5319 GB, free: 21.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=74): time 2.164e-06/0.3524, allocations: 0 / 0.5319 GB, free: 21.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.004773/0.3572, allocations: 2.77 MB / 0.5346 GB, free: 20.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.958e-05/0.3573, allocations: 144.1 kB / 0.5348 GB, free: 20.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.3583, allocations: 0.798 MB / 0.5356 GB, free: 20.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.336e-05/0.3583, allocations: 48.86 kB / 0.5356 GB, free: 20.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000455/0.3588, allocations: 0.608 MB / 0.5362 GB, free: 20.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.359, allocations: 263.2 kB / 0.5365 GB, free: 20.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/0.3592, allocations: 150.3 kB / 0.5366 GB, free: 20.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.3593, allocations: 396.5 kB / 0.537 GB, free: 19.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006587/0.36, allocations: 413.1 kB / 0.5374 GB, free: 19.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.361, allocations: 0.5892 MB / 0.5379 GB, free: 19.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/0.3628, allocations: 0.9949 MB / 0.5389 GB, free: 19.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3628, allocations: 2.625 kB / 0.5389 GB, free: 19.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002269/0.3651, allocations: 1.238 MB / 0.5401 GB, free: 19.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.3652, allocations: 12.48 kB / 0.5401 GB, free: 19.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.3652, allocations: 4.656 kB / 0.5401 GB, free: 19.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004189/0.3656, allocations: 171.9 kB / 0.5403 GB, free: 19.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006376/0.3662, allocations: 163.2 kB / 0.5405 GB, free: 19.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002987/0.3692, allocations: 2.98 MB / 0.5434 GB, free: 17.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005243/0.3698, allocations: 54.86 kB / 0.5434 GB, free: 17.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.419e-05/0.3698, allocations: 37.39 kB / 0.5435 GB, free: 17.74 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquare[3].mean.y_last,$PRE.rootMeanSquare[3].mean.y_last,rootMeanSquare[2].mean.y_last,$PRE.rootMeanSquare[2].mean.y_last,rootMeanSquare[1].mean.y_last,$PRE.rootMeanSquare[1].mean.y_last,switch.control[3],switch.control[2],switch.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007953/0.3706, allocations: 0.5522 MB / 0.544 GB, free: 17.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.3708, allocations: 85.58 kB / 0.5441 GB, free: 17.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001656/0.3709, allocations: 108.5 kB / 0.5442 GB, free: 17.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.371, allocations: 8.438 kB / 0.5442 GB, free: 17.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.745e-05/0.371, allocations: 1.938 kB / 0.5442 GB, free: 17.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.371, allocations: 18.11 kB / 0.5442 GB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004143/0.3751, allocations: 2.639 MB / 0.5468 GB, free: 16.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.3752, allocations: 1.188 kB / 0.5468 GB, free: 16.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004987/0.3757, allocations: 119.7 kB / 0.5469 GB, free: 16.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003355/0.376, allocations: 163.4 kB / 0.5471 GB, free: 16.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.004e-05/0.3761, allocations: 26.39 kB / 0.5471 GB, free: 16.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00268/0.3788, allocations: 2.934 MB / 0.55 GB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3788, allocations: 0.7188 kB / 0.55 GB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002306/0.3811, allocations: 1.734 MB / 0.5516 GB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003945/0.3815, allocations: 250.6 kB / 0.5519 GB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.3816, allocations: 33.64 kB / 0.5519 GB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004066/0.3821, allocations: 40.8 kB / 0.552 GB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/0.3822, allocations: 75.55 kB / 0.552 GB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.935e-05/0.3823, allocations: 23.42 kB / 0.5521 GB, free: 13.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000806/0.3831, allocations: 0.5722 MB / 0.5526 GB, free: 13.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3831, allocations: 3.312 kB / 0.5526 GB, free: 13.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001237/0.3844, allocations: 262.4 kB / 0.5529 GB, free: 13.34 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inductor.inductor[1].i,inductor.inductor[3].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,switch.control[1],switch.control[2],switch.control[3],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 (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002608/0.387, allocations: 2.301 MB / 0.5551 GB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001893/0.3889, allocations: 1.155 MB / 0.5562 GB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3889, allocations: 3.703 kB / 0.5562 GB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009544/0.3899, allocations: 0.6812 MB / 0.5569 GB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009073/0.3908, allocations: 215.2 kB / 0.5571 GB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.4021, allocations: 9.944 MB / 0.5668 GB, free: 3.801 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008026/0.403, allocations: 1.504 MB / 0.5683 GB, free: 2.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006892/0.4037, allocations: 234 kB / 0.5685 GB, free: 2.043 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007015/0.4044, allocations: 467.2 kB / 0.569 GB, free: 1.586 MB / 366.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4044, allocations: 0 / 0.569 GB, free: 1.586 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05469/0.4591, allocations: 24.03 MB / 0.5924 GB, free: 9.812 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.25, allocations: 14.34 kB / 0.5924 GB, free: 9.801 MB / 398.1 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/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)