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/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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001855/0.001855, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05121/0.05121, allocations: 8.794 MB / 25.52 MB, free: 3.754 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 251.3 MB, free: 7.359 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001027, allocations: 113.1 kB / 303.6 MB, free: 14.5 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 71.89 kB / 366 MB, free: 176 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2016, allocations: 51.55 MB / 417.5 MB, free: 20.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.00392/0.2055, allocations: 4.049 MB / 421.6 MB, free: 16.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.2069, allocations: 1.098 MB / 422.7 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002011/0.2072, allocations: 19.94 kB / 422.7 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.2074, allocations: 139.1 kB / 422.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005424/0.208, allocations: 242.8 kB / 423.1 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.2082, allocations: 147.8 kB / 423.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009599/0.2092, allocations: 1.818 MB / 425 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009139/0.2101, allocations: 1.287 MB / 426.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000389/0.2105, allocations: 0.6227 MB / 426.9 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006109/0.2111, allocations: 0.8404 MB / 427.8 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001353/0.2113, allocations: 123.9 kB / 427.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.2115, allocations: 127.9 kB / 428 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002379/0.2117, allocations: 450.6 kB / 428.5 MB, free: 9.914 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004751/0.2122, allocations: 0.7891 MB / 429.3 MB, free: 9.121 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.2133, allocations: 2.356 MB / 431.6 MB, free: 6.758 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2133, allocations: 0 / 431.6 MB, free: 6.758 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.2133, allocations: 0 / 431.6 MB, free: 6.758 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.2133, allocations: 0 / 431.6 MB, free: 6.758 MB / 298.7 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.002385/0.2157, allocations: 1.876 MB / 433.5 MB, free: 4.828 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.2158, allocations: 8.031 kB / 433.5 MB, free: 4.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002599/0.216, allocations: 171 kB / 433.7 MB, free: 4.652 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.2173, allocations: 0.9819 MB / 434.6 MB, free: 3.625 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.171e-05/0.2174, allocations: 107.1 kB / 434.8 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.2175, allocations: 148.1 kB / 434.9 MB, free: 3.375 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002128/0.2197, allocations: 1.928 MB / 436.8 MB, free: 1.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/0.2197, allocations: 7.984 kB / 436.8 MB, free: 1.402 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.867e-05/0.2198, allocations: 56 kB / 436.9 MB, free: 1.348 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.2198, allocations: 35.98 kB / 436.9 MB, free: 1.312 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00198/0.2218, allocations: 1.588 MB / 438.5 MB, free: 15.72 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006659/0.2285, allocations: 4.847 MB / 443.4 MB, free: 10.76 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.2301, allocations: 1.84 MB / 445.2 MB, free: 8.703 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/0.2311, allocations: 0.6634 MB / 445.9 MB, free: 8.035 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.541e-05/0.2312, allocations: 16.58 kB / 445.9 MB, free: 8.016 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008451/0.232, allocations: 0.5984 MB / 446.5 MB, free: 7.395 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 2.164e-06/0.232, allocations: 0 / 446.5 MB, free: 7.395 MB / 314.7 MB Notification: Performance of matching and sorting (n=78): time 0.004344/0.2364, allocations: 2.779 MB / 449.3 MB, free: 4.559 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.955e-05/0.2365, allocations: 141.2 kB / 449.4 MB, free: 4.391 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009032/0.2374, allocations: 0.7932 MB / 450.2 MB, free: 3.586 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.254e-05/0.2375, allocations: 49.69 kB / 450.2 MB, free: 3.531 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004551/0.2379, allocations: 0.6199 MB / 450.9 MB, free: 2.902 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.2381, allocations: 260.2 kB / 451.1 MB, free: 2.645 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002174/0.2383, allocations: 150.7 kB / 451.3 MB, free: 2.492 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.2385, allocations: 390.8 kB / 451.6 MB, free: 2.102 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000589/0.2391, allocations: 409.7 kB / 452 MB, free: 1.699 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007148/0.2398, allocations: 0.5996 MB / 452.6 MB, free: 1.027 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.2412, allocations: 0.9894 MB / 453.6 MB, free: 15.98 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.2412, allocations: 7.938 kB / 453.6 MB, free: 15.97 MB / 330.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001985/0.2432, allocations: 1.242 MB / 454.9 MB, free: 14.71 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.2432, allocations: 8 kB / 454.9 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.2432, allocations: 4 kB / 454.9 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004179/0.2436, allocations: 167.7 kB / 455.1 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006146/0.2443, allocations: 159.9 kB / 455.2 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00284/0.2471, allocations: 2.744 MB / 458 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004767/0.2476, allocations: 51.95 kB / 458 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.752e-05/0.2477, allocations: 24 kB / 458 MB, free: 11.43 MB / 330.7 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.0007969/0.2485, allocations: 0.5645 MB / 458.6 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.2486, allocations: 86.91 kB / 458.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002026/0.2488, allocations: 104.3 kB / 458.8 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.2488, allocations: 8 kB / 458.8 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.2488, allocations: 4 kB / 458.8 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.2488, allocations: 3.984 kB / 458.8 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003779/0.2526, allocations: 2.65 MB / 461.4 MB, free: 7.918 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.2526, allocations: 4 kB / 461.4 MB, free: 7.914 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004692/0.2531, allocations: 115.8 kB / 461.6 MB, free: 7.801 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003206/0.2535, allocations: 167.8 kB / 461.7 MB, free: 7.637 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-05/0.2535, allocations: 31.91 kB / 461.8 MB, free: 7.605 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002616/0.2561, allocations: 2.667 MB / 464.4 MB, free: 4.801 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.2562, allocations: 0 / 464.4 MB, free: 4.801 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01153/0.2677, allocations: 9.511 MB / 473.9 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000395/0.2681, allocations: 252.2 kB / 474.2 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.2682, allocations: 35.92 kB / 474.2 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003753/0.2686, allocations: 39.95 kB / 474.3 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.2688, allocations: 76.55 kB / 474.3 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.613e-05/0.2688, allocations: 23.98 kB / 474.4 MB, free: 10.55 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005907/0.2694, allocations: 0.5692 MB / 474.9 MB, free: 9.988 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2694, allocations: 4 kB / 474.9 MB, free: 9.984 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009981/0.2704, allocations: 352 kB / 475.3 MB, free: 9.641 MB / 346.7 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.0001563/0.2706, allocations: 131.2 kB / 475.4 MB, free: 9.504 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001631/0.2722, allocations: 1.14 MB / 476.5 MB, free: 8.348 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2723, allocations: 0 / 476.5 MB, free: 8.348 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009283/0.2732, allocations: 0.6822 MB / 477.2 MB, free: 7.656 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008938/0.2741, allocations: 207.1 kB / 477.4 MB, free: 7.453 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004813/0.2789, allocations: 4.189 MB / 481.6 MB, free: 3.199 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/0.28, allocations: 1.528 MB / 483.1 MB, free: 1.641 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005304/0.2805, allocations: 234.5 kB / 483.4 MB, free: 1.406 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.2807, allocations: 59.42 kB / 483.4 MB, free: 1.348 MB / 346.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2807, allocations: 4 kB / 483.4 MB, free: 1.344 MB / 346.7 MB Notification: Performance of Templates: time 0.0214/0.3021, allocations: 14.89 MB / 498.3 MB, free: 2.613 MB / 362.7 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)