Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 112 kB / 16.62 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 186 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 44.16 kB / 279.5 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08093/0.08208, allocations: 46.63 MB / 326.1 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.005508/0.08763, allocations: 4.613 MB / 330.8 MB, free: 140 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002809/0.09047, allocations: 1.722 MB / 332.5 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002909/0.09081, allocations: 15.94 kB / 332.5 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005533/0.09137, allocations: 226.8 kB / 332.7 MB, free: 14.17 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00139/0.09277, allocations: 0.6379 MB / 333.3 MB, free: 13.53 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004537/0.09324, allocations: 207.7 kB / 333.6 MB, free: 13.32 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001911/0.09516, allocations: 1.876 MB / 335.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/0.09641, allocations: 1.253 MB / 336.7 MB, free: 10.15 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008565/0.09727, allocations: 0.7981 MB / 337.5 MB, free: 9.352 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.09829, allocations: 1.008 MB / 338.5 MB, free: 8.34 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002035/0.0985, allocations: 188 kB / 338.7 MB, free: 8.156 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005504/0.09906, allocations: 311.8 kB / 339 MB, free: 7.852 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000411/0.09948, allocations: 0.5336 MB / 339.5 MB, free: 7.316 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008158/0.1003, allocations: 0.8943 MB / 340.4 MB, free: 6.418 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002077/0.1024, allocations: 2.547 MB / 342.9 MB, free: 3.863 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1024, allocations: 0 / 342.9 MB, free: 3.863 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1024, allocations: 0 / 342.9 MB, free: 3.863 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.166e-05/0.1024, allocations: 0 / 342.9 MB, free: 3.863 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004219/0.1067, allocations: 2.172 MB / 345.1 MB, free: 1.637 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.1067, allocations: 11.89 kB / 345.1 MB, free: 1.625 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/0.1085, allocations: 366.6 kB / 345.5 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.1101, allocations: 1.048 MB / 346.5 MB, free: 180 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.976e-05/0.1101, allocations: 95.05 kB / 346.6 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002164/0.1104, allocations: 136.2 kB / 346.8 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003051/0.1134, allocations: 1.886 MB / 348.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/0.1135, allocations: 4 kB / 348.7 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.1136, allocations: 56 kB / 348.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.449e-05/0.1137, allocations: 46 kB / 348.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002664/0.1163, allocations: 1.684 MB / 350.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008545/0.1249, allocations: 5.583 MB / 356 MB, free: 6.441 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002991/0.1279, allocations: 2.915 MB / 358.9 MB, free: 3.078 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007249/0.1287, allocations: 499.3 kB / 359.4 MB, free: 2.586 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002176/0.1309, allocations: 1.54 MB / 361 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.1309, allocations: 46.56 kB / 361 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.114e-06/0.1309, allocations: 0 / 361 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.003133/0.1341, allocations: 1.407 MB / 362.4 MB, free: 15.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.1341, allocations: 89.05 kB / 362.5 MB, free: 15.38 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/0.1354, allocations: 1.028 MB / 363.5 MB, free: 14.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.69e-05/0.1354, allocations: 41.64 kB / 363.6 MB, free: 14.29 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004216/0.1359, allocations: 0.6774 MB / 364.2 MB, free: 13.6 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.136, allocations: 185.3 kB / 364.4 MB, free: 13.42 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.1362, allocations: 126.2 kB / 364.6 MB, free: 13.29 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1363, allocations: 330 kB / 364.9 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005681/0.1369, allocations: 361 kB / 365.2 MB, free: 12.61 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006803/0.1376, allocations: 0.5209 MB / 365.7 MB, free: 12.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.1388, allocations: 0.8712 MB / 366.6 MB, free: 11.08 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.1389, allocations: 0 / 366.6 MB, free: 11.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001584/0.1404, allocations: 1.009 MB / 367.6 MB, free: 10.06 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.1405, allocations: 7.125 kB / 367.6 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.1405, allocations: 8 kB / 367.6 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.1405, allocations: 11.94 kB / 367.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007753/0.1413, allocations: 179.9 kB / 367.8 MB, free: 9.863 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/0.1413, allocations: 15.94 kB / 367.8 MB, free: 9.848 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005227/0.1419, allocations: 87.33 kB / 367.9 MB, free: 9.762 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/0.1419, allocations: 24 kB / 368 MB, free: 9.738 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006785/0.1426, allocations: 0.5251 MB / 368.5 MB, free: 9.203 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.1427, allocations: 90.88 kB / 368.6 MB, free: 9.113 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.1439, allocations: 0.6863 MB / 369.3 MB, free: 8.414 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.144, allocations: 4 kB / 369.3 MB, free: 8.41 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.144, allocations: 8 kB / 369.3 MB, free: 8.402 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.144, allocations: 7.922 kB / 369.3 MB, free: 8.395 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002347/0.1463, allocations: 1.645 MB / 370.9 MB, free: 6.684 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.1464, allocations: 15.86 kB / 370.9 MB, free: 6.668 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004584/0.1468, allocations: 95.97 kB / 371 MB, free: 6.574 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004239/0.1473, allocations: 152.7 kB / 371.2 MB, free: 6.422 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.57e-05/0.1473, allocations: 19.98 kB / 371.2 MB, free: 6.402 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002983/0.1503, allocations: 2.848 MB / 374 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1503, allocations: 0 / 374 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00214/0.1525, allocations: 1.48 MB / 375.5 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002334/0.1527, allocations: 188 kB / 375.7 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.1528, allocations: 16 kB / 375.7 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005448/0.1534, allocations: 63.86 kB / 375.8 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.1535, allocations: 55.92 kB / 375.8 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.083e-05/0.1536, allocations: 19.94 kB / 375.9 MB, free: 1.551 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009013/0.1545, allocations: 0.7332 MB / 376.6 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1545, allocations: 0 / 376.6 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009713/0.1555, allocations: 358.4 kB / 376.9 MB, free: 480 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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 {(1,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002411/0.1557, allocations: 143.1 kB / 377.1 MB, free: 328 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.1329/0.2887, allocations: 0.8374 MB / 377.9 MB, free: 53.65 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.2887, allocations: 0 / 377.9 MB, free: 53.65 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.2897, allocations: 0.5797 MB / 378.5 MB, free: 53.53 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.2908, allocations: 176.9 kB / 378.7 MB, free: 53.53 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004043/0.2949, allocations: 3.391 MB / 382.1 MB, free: 51.95 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/0.2959, allocations: 1.496 MB / 383.6 MB, free: 51.14 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006692/0.2966, allocations: 237.7 kB / 383.8 MB, free: 51.11 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.2968, allocations: 57.31 kB / 383.8 MB, free: 51.1 MB / 318.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2968, allocations: 0 / 383.8 MB, free: 51.1 MB / 318.1 MB Notification: Performance of Templates: time 0.01815/0.3149, allocations: 11.45 MB / 395.3 MB, free: 47.12 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1)