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: translateModel(HanserModelica.Electrical.StarDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.StarDelta") translateModel(HanserModelica.Electrical.StarDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.StarDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009171/0.0009174, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.372/1.372, allocations: 223.3 MB / 239 MB, free: 5.422 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.001005/0.001006, allocations: 172.5 kB / 290.3 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04146/0.04146, allocations: 8.792 MB / 350.2 MB, free: 4.668 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003779, allocations: 11.38 kB / 413.2 MB, free: 42.99 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09558/0.09597, allocations: 52.55 MB / 465.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.004027/0.1, allocations: 3.472 MB / 469.2 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.102, allocations: 1.06 MB / 470.3 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000269/0.1023, allocations: 27.81 kB / 470.3 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002729/0.1026, allocations: 119.1 kB / 470.4 MB, free: 8.789 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006499/0.1033, allocations: 246.8 kB / 470.7 MB, free: 8.547 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.1036, allocations: 119.8 kB / 470.8 MB, free: 8.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001489/0.1051, allocations: 1.611 MB / 472.4 MB, free: 6.812 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/0.1063, allocations: 1.07 MB / 473.5 MB, free: 5.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007577/0.1071, allocations: 0.5175 MB / 474 MB, free: 5.211 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009444/0.1081, allocations: 0.673 MB / 474.7 MB, free: 4.535 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.1082, allocations: 79.94 kB / 474.7 MB, free: 4.457 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002255/0.1084, allocations: 87.98 kB / 474.8 MB, free: 4.371 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003563/0.1088, allocations: 382.7 kB / 475.2 MB, free: 3.996 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003592/0.1092, allocations: 316.9 kB / 475.5 MB, free: 3.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001668/0.1108, allocations: 1.94 MB / 477.4 MB, free: 1.734 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1109, allocations: 3.984 kB / 477.4 MB, free: 1.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1109, allocations: 0 / 477.4 MB, free: 1.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.877e-05/0.1109, allocations: 0 / 477.4 MB, free: 1.73 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.002767/0.1137, allocations: 1.63 MB / 479.1 MB, free: 48 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1137, allocations: 8.031 kB / 479.1 MB, free: 40 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003643/0.1141, allocations: 174 kB / 479.3 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.1154, allocations: 0.9616 MB / 480.2 MB, free: 14.86 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-05/0.1155, allocations: 106.8 kB / 480.3 MB, free: 14.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001935/0.1157, allocations: 140 kB / 480.5 MB, free: 14.62 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002991/0.1187, allocations: 1.924 MB / 482.4 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/0.1188, allocations: 3.984 kB / 482.4 MB, free: 12.65 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.1189, allocations: 56 kB / 482.4 MB, free: 12.6 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.896e-05/0.1189, allocations: 43.95 kB / 482.5 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002562/0.1215, allocations: 1.592 MB / 484.1 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007255/0.1288, allocations: 4.89 MB / 489 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.1305, allocations: 1.846 MB / 490.8 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/0.1315, allocations: 0.6868 MB / 491.5 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.967e-05/0.1316, allocations: 20.59 kB / 491.5 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008947/0.1325, allocations: 0.6123 MB / 492.1 MB, free: 2.543 MB / 318.1 MB Notification: Performance of pre-optimization done (n=74): time 2.214e-06/0.1325, allocations: 0 / 492.1 MB, free: 2.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.004638/0.1372, allocations: 2.799 MB / 494.9 MB, free: 15.69 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.352e-05/0.1373, allocations: 149.2 kB / 495.1 MB, free: 15.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009612/0.1382, allocations: 0.7893 MB / 495.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.793e-05/0.1383, allocations: 49.64 kB / 495.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005153/0.1388, allocations: 0.6198 MB / 496.5 MB, free: 14.03 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/0.1391, allocations: 260.3 kB / 496.8 MB, free: 13.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.897e-05/0.1391, allocations: 16 kB / 496.8 MB, free: 13.76 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.1393, allocations: 398.7 kB / 497.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000634/0.1399, allocations: 417.6 kB / 497.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007493/0.1407, allocations: 0.5957 MB / 498.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007292/0.1414, allocations: 498.9 kB / 498.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1414, allocations: 0 / 498.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001893/0.1433, allocations: 1.254 MB / 499.9 MB, free: 10.53 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.1434, allocations: 9.719 kB / 499.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.1434, allocations: 4 kB / 500 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003823/0.1438, allocations: 172.9 kB / 0.4884 GB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006062/0.1444, allocations: 159.8 kB / 0.4886 GB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002948/0.1474, allocations: 2.735 MB / 0.4912 GB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005177/0.1479, allocations: 51.97 kB / 0.4913 GB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.226e-05/0.1479, allocations: 31.98 kB / 0.4913 GB, free: 7.238 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,$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,switch.control[1],switch.control[2],switch.control[3]) * 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 (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.0008892/0.1488, allocations: 0.5563 MB / 0.4918 GB, free: 6.672 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.149, allocations: 87.03 kB / 0.4919 GB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002141/0.1492, allocations: 108.3 kB / 0.492 GB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.1492, allocations: 8 kB / 0.492 GB, free: 6.469 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.648e-05/0.1492, allocations: 7.953 kB / 0.492 GB, free: 6.461 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.1493, allocations: 3.984 kB / 0.4921 GB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0041/0.1534, allocations: 2.677 MB / 0.4947 GB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1534, allocations: 0 / 0.4947 GB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004964/0.1539, allocations: 119.8 kB / 0.4948 GB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003457/0.1542, allocations: 156.8 kB / 0.4949 GB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.475e-05/0.1543, allocations: 27.98 kB / 0.495 GB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002844/0.1572, allocations: 2.692 MB / 0.4976 GB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1572, allocations: 0 / 0.4976 GB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002606/0.1598, allocations: 1.747 MB / 0.4993 GB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004466/0.1603, allocations: 260 kB / 0.4995 GB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001832/0.1605, allocations: 23.98 kB / 0.4996 GB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004297/0.1609, allocations: 55.95 kB / 0.4996 GB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001849/0.1611, allocations: 76.48 kB / 0.4997 GB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.649e-05/0.1611, allocations: 23.98 kB / 0.4997 GB, free: 14.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007891/0.1619, allocations: 0.5575 MB / 0.5003 GB, free: 13.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.162, allocations: 0 / 0.5003 GB, free: 13.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009837/0.1629, allocations: 268 kB / 0.5005 GB, free: 13.53 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 (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.000192/0.1631, allocations: 132.1 kB / 0.5006 GB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002016/0.1652, allocations: 1.136 MB / 0.5017 GB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1652, allocations: 0 / 0.5017 GB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.1663, allocations: 0.6939 MB / 0.5024 GB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.1673, allocations: 217.5 kB / 0.5026 GB, free: 11.33 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00613/0.1735, allocations: 3.369 MB / 0.5059 GB, free: 7.918 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001451/0.175, allocations: 1.516 MB / 0.5074 GB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007307/0.1757, allocations: 222.5 kB / 0.5076 GB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.176, allocations: 63.44 kB / 0.5077 GB, free: 6.086 MB / 350.1 MB Notification: Performance of SimCode: time 4.489e-06/0.176, allocations: 0 / 0.5077 GB, free: 6.086 MB / 350.1 MB Notification: Performance of Templates: time 0.02162/0.1976, allocations: 12.11 MB / 0.5195 GB, free: 10.11 MB / 366.1 MB make -j1 -f HanserModelica_HanserModelica.Electrical.StarDelta.makefile Environment - environmentSimulation: (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 & ./HanserModelica_HanserModelica.Electrical.StarDelta -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.StarDelta.pipe 2>&1) Environment - environmentSimulation: