Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.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.001313/0.001313, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 195.5 kB / 16.53 MB, free: 6.672 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.345/1.345, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.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.001304/0.001304, allocations: 47.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.229, allocations: 46.63 MB / 325.3 MB, free: 1.863 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.01141/0.2405, allocations: 9.921 MB / 335.2 MB, free: 9.926 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007661/0.2482, allocations: 3.351 MB / 338.6 MB, free: 6.594 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002493/0.2507, allocations: 59.81 kB / 338.7 MB, free: 6.535 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009079/0.2598, allocations: 3.831 MB / 342.5 MB, free: 2.688 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005379/0.2652, allocations: 1.407 MB / 343.9 MB, free: 1.273 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003315/0.2685, allocations: 1.137 MB / 345 MB, free: 136 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.01042/0.279, allocations: 9.076 MB / 354.1 MB, free: 7.023 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03047/0.3095, allocations: 20.4 MB / 374.5 MB, free: 2.484 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007552/0.3171, allocations: 5.043 MB / 379.5 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01031/0.3274, allocations: 6.114 MB / 385.7 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004585/0.3321, allocations: 1.398 MB / 387.1 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006665/0.3388, allocations: 1.636 MB / 388.7 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007556/0.3464, allocations: 2.915 MB / 391.6 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01274/0.3591, allocations: 5.459 MB / 397.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0206/0.3798, allocations: 18.61 MB / 415.7 MB, free: 9.195 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.3798, allocations: 4 kB / 415.7 MB, free: 9.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3798, allocations: 0 / 415.7 MB, free: 9.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000565/0.3804, allocations: 0 / 415.7 MB, free: 9.191 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.04317/0.4236, allocations: 12.3 MB / 428 MB, free: 12.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.4237, allocations: 15.89 kB / 428 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04966/0.4733, allocations: 8.455 MB / 436.5 MB, free: 4.316 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01345/0.4868, allocations: 5.38 MB / 441.8 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008312/0.4877, allocations: 0.6663 MB / 442.5 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004244/0.492, allocations: 0.8671 MB / 443.4 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4467/0.9387, allocations: 15.97 MB / 459.3 MB, free: 94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004459/0.9392, allocations: 8.875 kB / 459.3 MB, free: 94 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002939/0.9422, allocations: 369.8 kB / 459.7 MB, free: 94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009694/0.9432, allocations: 0.5585 MB / 460.3 MB, free: 93.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03428/0.9775, allocations: 15.72 MB / 476 MB, free: 87.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.088/1.066, allocations: 48.23 MB / 0.5119 GB, free: 42.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01971/1.085, allocations: 19.34 MB / 0.5308 GB, free: 21.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005478/1.091, allocations: 3.582 MB / 0.5343 GB, free: 17.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005753/1.091, allocations: 178.5 kB / 0.5345 GB, free: 17.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.291e-05/1.092, allocations: 86.56 kB / 0.5346 GB, free: 17.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=468): time 9.548e-06/1.092, allocations: 0 / 0.5346 GB, free: 17.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=468): time 0.02541/1.117, allocations: 11.55 MB / 0.5458 GB, free: 5.684 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.003e-05/1.117, allocations: 125.1 kB / 0.546 GB, free: 5.543 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008453/1.126, allocations: 3.846 MB / 0.5497 GB, free: 1.688 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007315/1.126, allocations: 101.7 kB / 0.5498 GB, free: 1.582 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003286/1.13, allocations: 3.889 MB / 0.5536 GB, free: 13.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003075/1.133, allocations: 1.61 MB / 0.5552 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005063/1.138, allocations: 1.472 MB / 0.5566 GB, free: 10.53 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/1.138, allocations: 301.1 kB / 0.5569 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006761/1.145, allocations: 3.684 MB / 0.5605 GB, free: 6.547 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009655/1.154, allocations: 6.53 MB / 0.5669 GB, free: 14.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01573/1.17, allocations: 10.82 MB / 0.5775 GB, free: 2.559 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001363/1.17, allocations: 28 kB / 0.5775 GB, free: 2.531 MB / 414.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02703/1.197, allocations: 11.95 MB / 0.5892 GB, free: 6.504 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001613/1.198, allocations: 44 kB / 0.5892 GB, free: 6.461 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001999/1.198, allocations: 92.31 kB / 0.5893 GB, free: 6.371 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005733/1.204, allocations: 1.632 MB / 0.5909 GB, free: 4.719 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007563/1.211, allocations: 1.673 MB / 0.5925 GB, free: 3.043 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02336/1.235, allocations: 17.68 MB / 0.6098 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2691/1.504, allocations: 0.9458 MB / 0.6107 GB, free: 140.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002133/1.506, allocations: 363.8 kB / 0.611 GB, free: 140.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008234/1.514, allocations: 3.757 MB / 0.6147 GB, free: 140.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001356/1.515, allocations: 393.4 kB / 0.6151 GB, free: 140.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01522/1.531, allocations: 8.581 MB / 0.6235 GB, free: 138.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.972e-05/1.531, allocations: 49.94 kB / 0.6235 GB, free: 138.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.752e-05/1.531, allocations: 11.75 kB / 0.6235 GB, free: 138.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-05/1.531, allocations: 31.23 kB / 0.6236 GB, free: 138.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02663/1.557, allocations: 16.93 MB / 0.6401 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/1.558, allocations: 3.875 kB / 0.6401 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003086/1.561, allocations: 0.8589 MB / 0.6409 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004395/1.565, allocations: 1.527 MB / 0.6424 GB, free: 132 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005296/1.566, allocations: 108.6 kB / 0.6425 GB, free: 131.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01595/1.582, allocations: 17.46 MB / 0.6596 GB, free: 116.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.582, allocations: 3.938 kB / 0.6596 GB, free: 116.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02094/1.603, allocations: 12.23 MB / 0.6715 GB, free: 104 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003434/1.606, allocations: 1.1 MB / 0.6726 GB, free: 102.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001961/1.608, allocations: 92.06 kB / 0.6727 GB, free: 102.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004327/1.612, allocations: 303.5 kB / 0.673 GB, free: 102.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001507/1.614, allocations: 327.5 kB / 0.6733 GB, free: 102.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007821/1.615, allocations: 139.2 kB / 0.6734 GB, free: 102.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006334/1.621, allocations: 2.574 MB / 0.6759 GB, free: 99.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.92e-07/1.621, allocations: 0 / 0.6759 GB, free: 99.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01297/1.634, allocations: 2.377 MB / 0.6783 GB, free: 97.11 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_e.plug_p.reference.gamma) * 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 (455): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001407/1.636, allocations: 260.9 kB / 0.6785 GB, free: 96.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02815/1.664, allocations: 15.48 MB / 0.6936 GB, free: 81.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/1.664, allocations: 0 / 0.6936 GB, free: 81.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00837/1.672, allocations: 4.47 MB / 0.698 GB, free: 76.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007054/1.679, allocations: 0.7347 MB / 0.6987 GB, free: 76.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03368/1.713, allocations: 17 MB / 0.7153 GB, free: 58.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00948/1.722, allocations: 6.052 MB / 0.7212 GB, free: 52.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.009303/1.732, allocations: 3.251 MB / 0.7244 GB, free: 49.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002229/1.734, allocations: 379.3 kB / 0.7248 GB, free: 49.28 MB / 446.1 MB Notification: Performance of SimCode: time 1.152e-06/1.734, allocations: 0 / 0.7248 GB, free: 49.28 MB / 446.1 MB Notification: Performance of Templates: time 0.3454/2.079, allocations: 68.12 MB / 0.7913 GB, free: 144.1 MB / 462.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1)