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.001192/0.001192, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.311/1.311, allocations: 222.9 MB / 238.9 MB, free: 4.73 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.001351/0.001351, allocations: 192.5 kB / 289.2 MB, free: 2.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03313/0.03313, allocations: 8.797 MB / 348.1 MB, free: 4.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 80.92 kB / 410.5 MB, free: 42.34 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09075/0.09227, allocations: 51.56 MB / 462.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.005042/0.09735, allocations: 4.053 MB / 466.1 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.09935, allocations: 1.09 MB / 467.2 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002337/0.0996, allocations: 23.88 kB / 467.2 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003344/0.09996, allocations: 135.2 kB / 467.4 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006382/0.1006, allocations: 254.7 kB / 467.6 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.1009, allocations: 143.9 kB / 467.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001445/0.1023, allocations: 1.783 MB / 469.5 MB, free: 7.273 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001304/0.1037, allocations: 1.289 MB / 470.8 MB, free: 5.953 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000707/0.1044, allocations: 0.6305 MB / 471.5 MB, free: 5.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009611/0.1053, allocations: 0.8403 MB / 472.3 MB, free: 4.477 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001626/0.1055, allocations: 120 kB / 472.4 MB, free: 4.359 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002829/0.1058, allocations: 128 kB / 472.5 MB, free: 4.234 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003946/0.1062, allocations: 446.6 kB / 473 MB, free: 3.797 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008177/0.107, allocations: 0.7851 MB / 473.8 MB, free: 3.008 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.1089, allocations: 2.352 MB / 476.1 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1089, allocations: 0 / 476.1 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.1089, allocations: 0 / 476.1 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.8e-05/0.1089, allocations: 4 kB / 476.1 MB, free: 0.6445 MB / 302.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.003015/0.1119, allocations: 1.868 MB / 478 MB, free: 14.72 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.112, allocations: 12.03 kB / 478 MB, free: 14.71 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002399/0.1122, allocations: 215 kB / 478.2 MB, free: 14.49 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003327/0.1126, allocations: 171 kB / 478.4 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.1139, allocations: 0.9935 MB / 479.4 MB, free: 13.29 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.307e-05/0.114, allocations: 107.1 kB / 479.5 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001888/0.1142, allocations: 147.9 kB / 479.6 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002797/0.117, allocations: 1.924 MB / 481.5 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/0.1171, allocations: 4 kB / 481.6 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.1172, allocations: 56 kB / 481.6 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/0.1172, allocations: 32 kB / 481.6 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002349/0.1196, allocations: 1.595 MB / 483.2 MB, free: 9.383 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006979/0.1266, allocations: 4.855 MB / 488.1 MB, free: 4.418 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001984/0.1286, allocations: 1.833 MB / 489.9 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/0.1296, allocations: 0.6668 MB / 490.6 MB, free: 1.695 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.861e-05/0.1297, allocations: 12.59 kB / 490.6 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008745/0.1306, allocations: 0.5984 MB / 491.2 MB, free: 1.059 MB / 318.1 MB Notification: Performance of pre-optimization done (n=74): time 2.614e-06/0.1306, allocations: 0 / 491.2 MB, free: 1.059 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.00428/0.1349, allocations: 2.783 MB / 494 MB, free: 14.21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.268e-05/0.135, allocations: 137.2 kB / 494.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009072/0.1359, allocations: 0.801 MB / 494.9 MB, free: 13.24 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.198e-05/0.136, allocations: 45.69 kB / 495 MB, free: 13.19 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004434/0.1364, allocations: 0.612 MB / 495.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/0.1366, allocations: 264.2 kB / 495.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.1368, allocations: 154.5 kB / 496 MB, free: 12.15 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.137, allocations: 402.7 kB / 496.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005907/0.1376, allocations: 405.7 kB / 496.8 MB, free: 11.35 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007067/0.1383, allocations: 0.5918 MB / 497.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.1396, allocations: 0.9972 MB / 498.4 MB, free: 9.629 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.1396, allocations: 0 / 498.4 MB, free: 9.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001845/0.1415, allocations: 1.238 MB / 499.6 MB, free: 8.379 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.1415, allocations: 8 kB / 499.6 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.1415, allocations: 4.281 kB / 499.6 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003798/0.1419, allocations: 168.7 kB / 499.8 MB, free: 8.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006324/0.1426, allocations: 163.7 kB / 499.9 MB, free: 8.039 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002864/0.1454, allocations: 2.724 MB / 0.4909 GB, free: 5.188 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004748/0.1459, allocations: 51.95 kB / 0.4909 GB, free: 5.137 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.748e-05/0.146, allocations: 28 kB / 0.491 GB, free: 5.109 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.0007962/0.1468, allocations: 0.5619 MB / 0.4915 GB, free: 4.539 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.1469, allocations: 90.91 kB / 0.4916 GB, free: 4.449 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001857/0.1471, allocations: 108.3 kB / 0.4917 GB, free: 4.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.1471, allocations: 8 kB / 0.4917 GB, free: 4.332 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.1471, allocations: 0 / 0.4917 GB, free: 4.332 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.1472, allocations: 3.984 kB / 0.4917 GB, free: 4.328 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003908/0.1511, allocations: 2.658 MB / 0.4943 GB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1511, allocations: 7.969 kB / 0.4943 GB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004936/0.1516, allocations: 107.9 kB / 0.4944 GB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003316/0.1519, allocations: 152.7 kB / 0.4946 GB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-05/0.152, allocations: 39.91 kB / 0.4946 GB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002816/0.1548, allocations: 2.682 MB / 0.4972 GB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.1548, allocations: 4.031 kB / 0.4972 GB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0025/0.1573, allocations: 1.742 MB / 0.4989 GB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003679/0.1577, allocations: 248.1 kB / 0.4992 GB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.1579, allocations: 27.98 kB / 0.4992 GB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003833/0.1582, allocations: 43.97 kB / 0.4992 GB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.1584, allocations: 76.47 kB / 0.4993 GB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.604e-05/0.1585, allocations: 24 kB / 0.4993 GB, free: 12.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006796/0.1592, allocations: 0.5692 MB / 0.4999 GB, free: 11.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1592, allocations: 0 / 0.4999 GB, free: 11.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009573/0.1601, allocations: 268 kB / 0.5001 GB, free: 11.44 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.002791/0.1629, allocations: 2.306 MB / 0.5024 GB, free: 9.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001824/0.1648, allocations: 1.137 MB / 0.5035 GB, free: 7.941 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.1648, allocations: 0 / 0.5035 GB, free: 7.941 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009947/0.1658, allocations: 0.6783 MB / 0.5042 GB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009789/0.1668, allocations: 207 kB / 0.5044 GB, free: 7.051 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01437/0.1812, allocations: 10.88 MB / 0.515 GB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/0.1823, allocations: 1.509 MB / 0.5165 GB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006296/0.1829, allocations: 222.5 kB / 0.5167 GB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005545/0.1835, allocations: 463.3 kB / 0.5171 GB, free: 9.641 MB / 366.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1835, allocations: 0 / 0.5171 GB, free: 9.641 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2194/0.4029, allocations: 22.63 MB / 0.5392 GB, free: 66.65 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001544/0.4031, allocations: 202 kB / 0.5394 GB, free: 66.4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.065/2.468, allocations: 0 / 0.5394 GB, free: 66.4 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)