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.001376/0.001376, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 239.2 MB, free: 4.602 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.001262/0.001263, allocations: 196.4 kB / 289.6 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03603/0.03603, allocations: 8.803 MB / 348.5 MB, free: 4.688 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 83.19 kB / 411.2 MB, free: 41.95 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0917/0.09327, allocations: 51.56 MB / 462.7 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.005827/0.09914, allocations: 4.023 MB / 466.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002173/0.1014, allocations: 1.106 MB / 467.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003329/0.1017, allocations: 27.88 kB / 467.9 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000364/0.1021, allocations: 158.7 kB / 468.1 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007963/0.1029, allocations: 278.5 kB / 468.3 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.1033, allocations: 167.7 kB / 468.5 MB, free: 8.469 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001445/0.1047, allocations: 1.584 MB / 470.1 MB, free: 6.879 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001617/0.1064, allocations: 1.511 MB / 471.6 MB, free: 5.332 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008381/0.1072, allocations: 0.7477 MB / 472.3 MB, free: 4.582 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/0.1083, allocations: 0.8717 MB / 473.2 MB, free: 3.707 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002552/0.1085, allocations: 192 kB / 473.4 MB, free: 3.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003424/0.1089, allocations: 196 kB / 473.6 MB, free: 3.328 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004602/0.1094, allocations: 0.526 MB / 474.1 MB, free: 2.801 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009434/0.1103, allocations: 0.8633 MB / 475 MB, free: 1.934 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002225/0.1126, allocations: 2.422 MB / 477.4 MB, free: 15.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.1126, allocations: 0 / 477.4 MB, free: 15.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1126, allocations: 0 / 477.4 MB, free: 15.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.299e-05/0.1126, allocations: 0 / 477.4 MB, free: 15.5 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.003284/0.1159, allocations: 1.885 MB / 479.3 MB, free: 13.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.116, allocations: 8.031 kB / 479.3 MB, free: 13.56 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002543/0.1162, allocations: 215 kB / 479.5 MB, free: 13.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003988/0.1166, allocations: 175 kB / 479.7 MB, free: 13.17 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/0.1181, allocations: 0.9819 MB / 480.7 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.104e-05/0.1182, allocations: 103.1 kB / 480.8 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002047/0.1184, allocations: 151.9 kB / 480.9 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002981/0.1214, allocations: 1.928 MB / 482.8 MB, free: 9.926 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/0.1215, allocations: 3.984 kB / 482.8 MB, free: 9.922 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/0.1216, allocations: 56 kB / 482.9 MB, free: 9.867 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.024e-05/0.1216, allocations: 36 kB / 482.9 MB, free: 9.832 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002677/0.1243, allocations: 1.595 MB / 484.5 MB, free: 8.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007503/0.1318, allocations: 4.851 MB / 489.4 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.1336, allocations: 1.837 MB / 491.2 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.1347, allocations: 0.659 MB / 491.9 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.014e-05/0.1347, allocations: 8.656 kB / 491.9 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008888/0.1356, allocations: 0.6009 MB / 492.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=74): time 2.215e-06/0.1356, allocations: 0 / 492.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=78): time 0.004793/0.1404, allocations: 2.783 MB / 495.3 MB, free: 13.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.928e-05/0.1406, allocations: 145.2 kB / 495.4 MB, free: 12.9 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.1416, allocations: 0.7971 MB / 496.2 MB, free: 12.1 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.211e-05/0.1417, allocations: 45.69 kB / 496.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005387/0.1422, allocations: 0.6159 MB / 496.9 MB, free: 11.42 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002271/0.1424, allocations: 260.3 kB / 497.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002468/0.1427, allocations: 154.6 kB / 497.3 MB, free: 11.01 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.1429, allocations: 402.7 kB / 497.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006113/0.1435, allocations: 405.7 kB / 498.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007548/0.1443, allocations: 0.5957 MB / 498.6 MB, free: 9.543 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.1456, allocations: 0.9894 MB / 499.6 MB, free: 8.492 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1456, allocations: 0 / 499.6 MB, free: 8.492 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001928/0.1475, allocations: 1.239 MB / 0.4891 GB, free: 7.242 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.1476, allocations: 8 kB / 0.4891 GB, free: 7.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.1476, allocations: 4 kB / 0.4891 GB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004089/0.148, allocations: 175.5 kB / 0.4893 GB, free: 7.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006152/0.1486, allocations: 155.8 kB / 0.4895 GB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003193/0.1518, allocations: 2.991 MB / 0.4924 GB, free: 3.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005602/0.1524, allocations: 51.97 kB / 0.4924 GB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.131e-05/0.1525, allocations: 27.98 kB / 0.4925 GB, free: 3.699 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.0008584/0.1533, allocations: 0.5533 MB / 0.493 GB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.1535, allocations: 90.95 kB / 0.4931 GB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002053/0.1537, allocations: 112.3 kB / 0.4932 GB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.1537, allocations: 8 kB / 0.4932 GB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.1537, allocations: 4 kB / 0.4932 GB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.1537, allocations: 3.984 kB / 0.4932 GB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004017/0.1578, allocations: 2.654 MB / 0.4958 GB, free: 192 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.1578, allocations: 0 / 0.4958 GB, free: 192 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004929/0.1583, allocations: 119.9 kB / 0.4959 GB, free: 72 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003531/0.1586, allocations: 156.7 kB / 0.4961 GB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.86e-05/0.1587, allocations: 31.98 kB / 0.4961 GB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00307/0.1618, allocations: 2.938 MB / 0.499 GB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.1618, allocations: 12.03 kB / 0.499 GB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002484/0.1643, allocations: 1.723 MB / 0.5007 GB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004004/0.1647, allocations: 256 kB / 0.5009 GB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.1649, allocations: 23.98 kB / 0.5009 GB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004116/0.1653, allocations: 47.97 kB / 0.501 GB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/0.1655, allocations: 80.42 kB / 0.5011 GB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.577e-05/0.1655, allocations: 23.98 kB / 0.5011 GB, free: 10.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007107/0.1662, allocations: 0.5653 MB / 0.5016 GB, free: 10.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1662, allocations: 0 / 0.5016 GB, free: 10.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009172/0.1672, allocations: 268 kB / 0.5019 GB, free: 9.777 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.002919/0.1701, allocations: 2.308 MB / 0.5041 GB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002614/0.1727, allocations: 1.422 MB / 0.5055 GB, free: 5.984 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.1728, allocations: 4.062 kB / 0.5055 GB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.1738, allocations: 0.6851 MB / 0.5062 GB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.1749, allocations: 214.6 kB / 0.5064 GB, free: 5.074 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01446/0.1894, allocations: 10.33 MB / 0.5165 GB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/0.1905, allocations: 1.501 MB / 0.518 GB, free: 8.902 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005882/0.1911, allocations: 230.5 kB / 0.5182 GB, free: 8.672 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005488/0.1916, allocations: 463.3 kB / 0.5186 GB, free: 8.219 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1916, allocations: 0 / 0.5186 GB, free: 8.219 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.253/0.4446, allocations: 23.37 MB / 0.5414 GB, free: 65.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.684/10.13, allocations: 13.67 kB / 0.5414 GB, free: 65.41 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)