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.0008866/0.0008867, allocations: 92.08 kB / 16.02 MB, free: 80 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.275/1.275, allocations: 223.3 MB / 240 MB, free: 5.48 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.0009453/0.0009453, allocations: 168.5 kB / 291.3 MB, free: 2.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03418/0.03418, allocations: 8.805 MB / 351.2 MB, free: 4.562 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003305, allocations: 16.7 kB / 414.5 MB, free: 42.76 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06474/0.06508, allocations: 52.55 MB / 467 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.003666/0.06879, allocations: 3.641 MB / 470.7 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.07029, allocations: 1.09 MB / 471.8 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001884/0.07049, allocations: 23.88 kB / 471.8 MB, free: 8.309 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002563/0.07076, allocations: 131.1 kB / 471.9 MB, free: 8.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005775/0.07134, allocations: 254.8 kB / 472.2 MB, free: 7.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.07162, allocations: 139.9 kB / 472.3 MB, free: 7.793 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00141/0.07304, allocations: 1.794 MB / 474.1 MB, free: 5.992 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/0.0743, allocations: 1.266 MB / 475.4 MB, free: 4.695 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004651/0.07478, allocations: 0.529 MB / 475.9 MB, free: 4.164 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007249/0.07551, allocations: 0.7155 MB / 476.6 MB, free: 3.445 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.07563, allocations: 80 kB / 476.7 MB, free: 3.367 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.07582, allocations: 83.98 kB / 476.8 MB, free: 3.285 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002943/0.07613, allocations: 386.7 kB / 477.1 MB, free: 2.906 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005654/0.0767, allocations: 0.7399 MB / 477.9 MB, free: 2.156 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.07806, allocations: 1.94 MB / 479.8 MB, free: 216 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.07807, allocations: 0 / 479.8 MB, free: 216 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.07808, allocations: 0 / 479.8 MB, free: 216 kB / 302.1 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.07809, allocations: 0 / 479.8 MB, free: 216 kB / 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.002521/0.08062, allocations: 1.607 MB / 481.4 MB, free: 14.55 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/0.08066, allocations: 8.031 kB / 481.4 MB, free: 14.54 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003073/0.08097, allocations: 175 kB / 481.6 MB, free: 14.37 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.08221, allocations: 0.9857 MB / 482.6 MB, free: 13.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.761e-05/0.0823, allocations: 103.1 kB / 482.7 MB, free: 13.24 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002063/0.08251, allocations: 152.1 kB / 482.8 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00283/0.08535, allocations: 1.932 MB / 484.8 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/0.08539, allocations: 0 / 484.8 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/0.08553, allocations: 60 kB / 484.8 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.08556, allocations: 32 kB / 484.9 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002445/0.08801, allocations: 1.611 MB / 486.5 MB, free: 9.414 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006493/0.09452, allocations: 4.902 MB / 491.4 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.0961, allocations: 1.849 MB / 493.2 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/0.0972, allocations: 0.6747 MB / 493.9 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.846e-05/0.09725, allocations: 12.64 kB / 493.9 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008825/0.09814, allocations: 0.6062 MB / 494.5 MB, free: 1.008 MB / 318.1 MB Notification: Performance of pre-optimization done (n=74): time 1.954e-06/0.09816, allocations: 0 / 494.5 MB, free: 1.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.004408/0.1026, allocations: 2.834 MB / 497.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.749e-05/0.1027, allocations: 141.2 kB / 497.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008671/0.1035, allocations: 0.797 MB / 498.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.026e-05/0.1036, allocations: 49.69 kB / 498.3 MB, free: 13.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003858/0.104, allocations: 0.6082 MB / 498.9 MB, free: 12.47 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/0.1042, allocations: 260.3 kB / 499.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.1043, allocations: 81.61 kB / 499.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1044, allocations: 402.7 kB / 499.7 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006469/0.1051, allocations: 413.7 kB / 0.4884 GB, free: 11.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000766/0.1059, allocations: 0.6036 MB / 0.4889 GB, free: 10.64 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/0.1073, allocations: 1.013 MB / 0.4899 GB, free: 9.566 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.1073, allocations: 4 kB / 0.4899 GB, free: 9.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001904/0.1092, allocations: 1.254 MB / 0.4912 GB, free: 8.297 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.1092, allocations: 8 kB / 0.4912 GB, free: 8.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.1093, allocations: 4 kB / 0.4912 GB, free: 8.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003669/0.1096, allocations: 168.7 kB / 0.4913 GB, free: 8.117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006423/0.1103, allocations: 167.9 kB / 0.4915 GB, free: 7.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002846/0.1131, allocations: 2.752 MB / 0.4942 GB, free: 5.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004615/0.1136, allocations: 55.95 kB / 0.4942 GB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.966e-05/0.1137, allocations: 28 kB / 0.4943 GB, free: 4.988 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.0006332/0.1143, allocations: 0.5532 MB / 0.4948 GB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.1144, allocations: 87 kB / 0.4949 GB, free: 4.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002214/0.1147, allocations: 112.3 kB / 0.495 GB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.1147, allocations: 8 kB / 0.495 GB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1147, allocations: 3.938 kB / 0.495 GB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.1147, allocations: 3.984 kB / 0.495 GB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003787/0.1185, allocations: 2.681 MB / 0.4976 GB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.1185, allocations: 8.125 kB / 0.4976 GB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005196/0.119, allocations: 115.9 kB / 0.4977 GB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003307/0.1194, allocations: 151 kB / 0.4979 GB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.694e-05/0.1194, allocations: 31.92 kB / 0.4979 GB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002675/0.1221, allocations: 2.692 MB / 0.5005 GB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1221, allocations: 4.031 kB / 0.5006 GB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002453/0.1246, allocations: 1.762 MB / 0.5023 GB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003153/0.1249, allocations: 252.1 kB / 0.5025 GB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.1251, allocations: 31.98 kB / 0.5025 GB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004333/0.1255, allocations: 47.95 kB / 0.5026 GB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.1257, allocations: 80.48 kB / 0.5027 GB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.573e-05/0.1257, allocations: 23.98 kB / 0.5027 GB, free: 12.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006253/0.1263, allocations: 0.5692 MB / 0.5032 GB, free: 11.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1264, allocations: 3.938 kB / 0.5032 GB, free: 11.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007442/0.1271, allocations: 264 kB / 0.5035 GB, free: 11.25 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.0001489/0.1273, allocations: 132.1 kB / 0.5036 GB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001766/0.129, allocations: 1.152 MB / 0.5048 GB, free: 9.945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.129, allocations: 0 / 0.5048 GB, free: 9.945 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.1301, allocations: 0.7329 MB / 0.5055 GB, free: 9.203 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.1312, allocations: 199 kB / 0.5057 GB, free: 9.012 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004226/0.1355, allocations: 3.521 MB / 0.5091 GB, free: 5.441 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009552/0.1365, allocations: 1.477 MB / 0.5105 GB, free: 3.934 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.1367, allocations: 63.42 kB / 0.5106 GB, free: 3.871 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1367, allocations: 0 / 0.5106 GB, free: 3.871 MB / 350.1 MB Notification: Performance of Templates: time 0.164/0.3007, allocations: 22.68 MB / 0.5327 GB, free: 66.61 MB / 366.1 MB make -j1 -f HanserModelica_HanserModelica.Electrical.StarDelta.makefile (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)