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.0007512/0.0007518, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.321/1.321, allocations: 223.3 MB / 239.4 MB, free: 5.52 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.0009852/0.0009852, allocations: 183.3 kB / 290.6 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0342/0.0342, allocations: 8.808 MB / 350.5 MB, free: 4.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005736/0.0005736, allocations: 11.62 kB / 413.9 MB, free: 42.7 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09032/0.09092, allocations: 52.56 MB / 466.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.004535/0.09551, allocations: 3.637 MB / 470.1 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.09746, allocations: 1.087 MB / 471.2 MB, free: 8.301 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002937/0.09777, allocations: 23.88 kB / 471.2 MB, free: 8.277 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002707/0.09805, allocations: 127.2 kB / 471.3 MB, free: 8.152 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007394/0.0988, allocations: 258.7 kB / 471.6 MB, free: 7.898 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003662/0.09918, allocations: 147.9 kB / 471.7 MB, free: 7.754 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001655/0.1008, allocations: 1.783 MB / 473.5 MB, free: 5.965 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001333/0.1022, allocations: 1.277 MB / 474.8 MB, free: 4.656 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005943/0.1028, allocations: 0.5212 MB / 475.3 MB, free: 4.133 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008608/0.1037, allocations: 0.7233 MB / 476 MB, free: 3.406 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.1038, allocations: 80 kB / 476.1 MB, free: 3.328 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.104, allocations: 80 kB / 476.2 MB, free: 3.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000303/0.1043, allocations: 390.7 kB / 476.6 MB, free: 2.867 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006386/0.1049, allocations: 0.7282 MB / 477.3 MB, free: 2.129 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001878/0.1068, allocations: 2.281 MB / 479.6 MB, free: 15.84 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1068, allocations: 4 kB / 479.6 MB, free: 15.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1068, allocations: 0 / 479.6 MB, free: 15.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.756e-05/0.1069, allocations: 0 / 479.6 MB, free: 15.84 MB / 318.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.002718/0.1096, allocations: 1.603 MB / 481.2 MB, free: 14.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1096, allocations: 16.03 kB / 481.2 MB, free: 14.16 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003089/0.11, allocations: 222.9 kB / 481.4 MB, free: 13.94 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003056/0.1103, allocations: 167 kB / 481.6 MB, free: 13.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.1116, allocations: 0.9896 MB / 482.6 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-05/0.1117, allocations: 103.1 kB / 482.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/0.1119, allocations: 147.9 kB / 482.8 MB, free: 12.49 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003115/0.115, allocations: 1.936 MB / 484.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.115, allocations: 4 kB / 484.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/0.1152, allocations: 56 kB / 484.8 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.743e-05/0.1152, allocations: 32 kB / 484.9 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002678/0.1179, allocations: 1.611 MB / 486.5 MB, free: 8.812 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00721/0.1251, allocations: 4.902 MB / 491.4 MB, free: 3.801 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.1268, allocations: 1.853 MB / 493.2 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/0.1279, allocations: 0.6669 MB / 493.9 MB, free: 1.055 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.005e-05/0.1279, allocations: 8.641 kB / 493.9 MB, free: 1.043 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000967/0.1289, allocations: 0.6101 MB / 494.5 MB, free: 420 kB / 318.1 MB Notification: Performance of pre-optimization done (n=74): time 2.064e-06/0.1289, allocations: 4 kB / 494.5 MB, free: 416 kB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.004722/0.1336, allocations: 2.822 MB / 497.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.448e-05/0.1337, allocations: 141.2 kB / 497.5 MB, free: 13.36 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.1348, allocations: 0.8009 MB / 498.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.815e-05/0.1348, allocations: 49.69 kB / 498.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004699/0.1353, allocations: 0.6082 MB / 498.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/0.1355, allocations: 256.3 kB / 499.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.769e-05/0.1356, allocations: 81.67 kB / 499.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.1358, allocations: 402.7 kB / 499.7 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007079/0.1365, allocations: 417.6 kB / 0.4883 GB, free: 10.72 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008215/0.1373, allocations: 0.6036 MB / 0.4889 GB, free: 10.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/0.1388, allocations: 1.013 MB / 0.4899 GB, free: 8.973 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1388, allocations: 0 / 0.4899 GB, free: 8.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002038/0.1409, allocations: 1.258 MB / 0.4912 GB, free: 7.703 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.1409, allocations: 8 kB / 0.4912 GB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.1409, allocations: 4.047 kB / 0.4912 GB, free: 7.691 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004537/0.1414, allocations: 179.2 kB / 0.4913 GB, free: 7.516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006464/0.142, allocations: 163.7 kB / 0.4915 GB, free: 7.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003371/0.1454, allocations: 2.746 MB / 0.4942 GB, free: 4.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006022/0.146, allocations: 55.95 kB / 0.4942 GB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.215e-05/0.1461, allocations: 28 kB / 0.4943 GB, free: 4.398 MB / 334.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.0009771/0.1471, allocations: 0.5577 MB / 0.4948 GB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.1472, allocations: 83 kB / 0.4949 GB, free: 3.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002878/0.1475, allocations: 112.3 kB / 0.495 GB, free: 3.637 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.1475, allocations: 11.94 kB / 0.495 GB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.464e-05/0.1475, allocations: 4 kB / 0.495 GB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.1475, allocations: 3.984 kB / 0.495 GB, free: 3.617 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004074/0.1516, allocations: 2.689 MB / 0.4976 GB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.1516, allocations: 0 / 0.4976 GB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004808/0.1521, allocations: 111.9 kB / 0.4977 GB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003599/0.1525, allocations: 160.8 kB / 0.4979 GB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.955e-05/0.1526, allocations: 35.92 kB / 0.4979 GB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003125/0.1557, allocations: 2.68 MB / 0.5005 GB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.1557, allocations: 3.984 kB / 0.5005 GB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00254/0.1583, allocations: 1.766 MB / 0.5023 GB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004172/0.1587, allocations: 248.1 kB / 0.5025 GB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.1588, allocations: 27.98 kB / 0.5025 GB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004151/0.1592, allocations: 55.95 kB / 0.5026 GB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/0.1594, allocations: 72.48 kB / 0.5027 GB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.944e-05/0.1595, allocations: 27.98 kB / 0.5027 GB, free: 11.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007246/0.1602, allocations: 0.5653 MB / 0.5032 GB, free: 10.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1602, allocations: 0 / 0.5032 GB, free: 10.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009642/0.1612, allocations: 264 kB / 0.5035 GB, free: 10.67 MB / 350.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.003024/0.1642, allocations: 2.339 MB / 0.5058 GB, free: 8.289 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002078/0.1663, allocations: 1.156 MB / 0.5069 GB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1663, allocations: 0 / 0.5069 GB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.1674, allocations: 0.6938 MB / 0.5076 GB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.1685, allocations: 198.8 kB / 0.5078 GB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01534/0.1839, allocations: 11.01 MB / 0.5185 GB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001353/0.1853, allocations: 1.501 MB / 0.52 GB, free: 9.359 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006156/0.1859, allocations: 230.5 kB / 0.5202 GB, free: 9.129 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005765/0.1865, allocations: 463.3 kB / 0.5206 GB, free: 8.676 MB / 366.1 MB Notification: Performance of SimCode: time 9.11e-07/0.1865, allocations: 0 / 0.5206 GB, free: 8.676 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2315/0.418, allocations: 22.26 MB / 0.5424 GB, free: 63.5 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001482/0.4181, allocations: 205.2 kB / 0.5426 GB, free: 63.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.181/2.599, allocations: 1.125 kB / 0.5426 GB, free: 63.25 MB / 366.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)