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.01147/0.01147, allocations: 100.9 kB / 15.87 MB, free: 5.867 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.885/1.885, allocations: 222.9 MB / 239.5 MB, free: 4.816 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.001591/0.001591, allocations: 200.4 kB / 289.8 MB, free: 2.543 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05906/0.05907, allocations: 8.789 MB / 348.7 MB, free: 4.949 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002724/0.002724, allocations: 80.94 kB / 411.1 MB, free: 42.43 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1459, allocations: 51.56 MB / 462.6 MB, free: 15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.009044/0.155, allocations: 4.046 MB / 466.7 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003809/0.1589, allocations: 1.102 MB / 467.8 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006239/0.1596, allocations: 23.88 kB / 467.8 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006391/0.1602, allocations: 135.2 kB / 467.9 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001415/0.1617, allocations: 254.7 kB / 468.2 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007178/0.1625, allocations: 143.9 kB / 468.3 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002901/0.1654, allocations: 1.79 MB / 470.1 MB, free: 7.473 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002635/0.168, allocations: 1.289 MB / 471.4 MB, free: 6.152 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001461/0.1695, allocations: 0.6188 MB / 472 MB, free: 5.531 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001889/0.1714, allocations: 0.8482 MB / 472.9 MB, free: 4.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003606/0.1718, allocations: 120 kB / 473 MB, free: 4.562 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005013/0.1724, allocations: 124 kB / 473.1 MB, free: 4.441 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006634/0.173, allocations: 450.6 kB / 473.5 MB, free: 4 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001537/0.1746, allocations: 0.7891 MB / 474.3 MB, free: 3.207 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00291/0.1775, allocations: 1.984 MB / 476.3 MB, free: 1.219 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.1776, allocations: 0 / 476.3 MB, free: 1.219 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.508e-06/0.1776, allocations: 4 kB / 476.3 MB, free: 1.215 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.07e-05/0.1777, allocations: 0 / 476.3 MB, free: 1.215 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.006534/0.1842, allocations: 1.878 MB / 478.2 MB, free: 15.29 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.168e-05/0.1843, allocations: 12.03 kB / 478.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000676/0.185, allocations: 171 kB / 478.4 MB, free: 15.11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00278/0.1878, allocations: 0.9897 MB / 479.4 MB, free: 14.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001571/0.188, allocations: 107.1 kB / 479.5 MB, free: 13.96 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000387/0.1884, allocations: 148.1 kB / 479.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006507/0.1949, allocations: 1.928 MB / 481.5 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.966e-05/0.195, allocations: 3.984 kB / 481.5 MB, free: 11.85 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000332/0.1954, allocations: 56 kB / 481.6 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.764e-05/0.1954, allocations: 35.94 kB / 481.6 MB, free: 11.76 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005585/0.201, allocations: 1.595 MB / 483.2 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01612/0.2172, allocations: 4.847 MB / 488.1 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003287/0.2205, allocations: 1.844 MB / 489.9 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002232/0.2228, allocations: 0.6551 MB / 490.6 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-05/0.2229, allocations: 8.656 kB / 490.6 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001878/0.2248, allocations: 0.6023 MB / 491.2 MB, free: 1.844 MB / 318.1 MB Notification: Performance of pre-optimization done (n=74): time 4.919e-06/0.2249, allocations: 0 / 491.2 MB, free: 1.844 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.009786/0.2347, allocations: 2.768 MB / 493.9 MB, free: 15.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/0.2349, allocations: 153.2 kB / 494.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002127/0.237, allocations: 0.7932 MB / 494.9 MB, free: 14.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000175/0.2372, allocations: 45.69 kB / 494.9 MB, free: 13.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009663/0.2382, allocations: 0.6159 MB / 495.5 MB, free: 13.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004559/0.2387, allocations: 260.3 kB / 495.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005295/0.2392, allocations: 154.6 kB / 496 MB, free: 12.95 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003205/0.2396, allocations: 394.8 kB / 496.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/0.241, allocations: 413.7 kB / 496.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/0.2426, allocations: 0.5918 MB / 497.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002861/0.2455, allocations: 0.9933 MB / 498.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/0.2455, allocations: 0 / 498.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004046/0.2496, allocations: 1.239 MB / 499.6 MB, free: 9.176 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.289e-05/0.2497, allocations: 8 kB / 499.6 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.79e-05/0.2497, allocations: 8.047 kB / 499.6 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007926/0.2505, allocations: 172.9 kB / 499.8 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.2519, allocations: 159.7 kB / 499.9 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00567/0.2576, allocations: 2.733 MB / 0.4909 GB, free: 5.969 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.2589, allocations: 56.02 kB / 0.4909 GB, free: 5.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001899/0.2591, allocations: 28 kB / 0.4909 GB, free: 5.887 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.001833/0.261, allocations: 0.5544 MB / 0.4915 GB, free: 5.324 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003838/0.2614, allocations: 90.91 kB / 0.4916 GB, free: 5.234 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003907/0.2618, allocations: 108.3 kB / 0.4917 GB, free: 5.125 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.2618, allocations: 8 kB / 0.4917 GB, free: 5.117 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.828e-05/0.2618, allocations: 0 / 0.4917 GB, free: 5.117 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.697e-05/0.2619, allocations: 3.984 kB / 0.4917 GB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008494/0.2704, allocations: 2.654 MB / 0.4943 GB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/0.2704, allocations: 0 / 0.4943 GB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.2716, allocations: 127.9 kB / 0.4944 GB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007412/0.2723, allocations: 154.9 kB / 0.4945 GB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001561/0.2725, allocations: 31.92 kB / 0.4946 GB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006059/0.2786, allocations: 2.68 MB / 0.4972 GB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-05/0.2786, allocations: 8.016 kB / 0.4972 GB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005288/0.2839, allocations: 1.727 MB / 0.4989 GB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008875/0.2849, allocations: 256 kB / 0.4991 GB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003496/0.2852, allocations: 27.98 kB / 0.4992 GB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.2863, allocations: 43.97 kB / 0.4992 GB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000341/0.2867, allocations: 76.48 kB / 0.4993 GB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.733e-05/0.2868, allocations: 23.98 kB / 0.4993 GB, free: 13.06 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001567/0.2884, allocations: 0.5653 MB / 0.4998 GB, free: 12.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.2884, allocations: 0 / 0.4998 GB, free: 12.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002026/0.2904, allocations: 268 kB / 0.5001 GB, free: 12.23 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.0003384/0.2908, allocations: 132 kB / 0.5002 GB, free: 12.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00402/0.2948, allocations: 1.136 MB / 0.5013 GB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/0.2949, allocations: 0 / 0.5013 GB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002379/0.2973, allocations: 0.7211 MB / 0.502 GB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002534/0.2998, allocations: 200.8 kB / 0.5022 GB, free: 10.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.3099, allocations: 3.445 MB / 0.5056 GB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002098/0.3121, allocations: 1.47 MB / 0.507 GB, free: 5.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005298/0.3126, allocations: 67.42 kB / 0.5071 GB, free: 4.953 MB / 350.1 MB Notification: Performance of SimCode: time 1.183e-06/0.3127, allocations: 4 kB / 0.5071 GB, free: 4.949 MB / 350.1 MB Notification: Performance of Templates: time 0.331/0.6437, allocations: 22.85 MB / 0.5294 GB, free: 69.09 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)