Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001144/0.001144, allocations: 92.78 kB / 15.36 MB, free: 0.7383 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.009062/0.009062, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.391/1.391, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.0004939/0.0004937, allocations: 16 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2477, allocations: 47.59 MB / 327 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.009998/0.2578, allocations: 9.172 MB / 336.2 MB, free: 10.08 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008315/0.2662, allocations: 3.3 MB / 339.5 MB, free: 6.855 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001942/0.2682, allocations: 55.81 kB / 339.6 MB, free: 6.801 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002157/0.2703, allocations: 0.704 MB / 340.3 MB, free: 6.094 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004057/0.2744, allocations: 1.288 MB / 341.6 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002292/0.2767, allocations: 1.071 MB / 342.6 MB, free: 3.727 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.009522/0.2862, allocations: 9.068 MB / 351.7 MB, free: 10.62 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02795/0.3142, allocations: 18.97 MB / 370.7 MB, free: 7.527 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005853/0.3201, allocations: 3.585 MB / 374.3 MB, free: 3.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008127/0.3283, allocations: 4.713 MB / 379 MB, free: 15.2 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002388/0.3307, allocations: 0.582 MB / 379.5 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003093/0.3338, allocations: 0.824 MB / 380.4 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001981/0.3358, allocations: 1.9 MB / 382.3 MB, free: 11.89 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006719/0.3425, allocations: 4.332 MB / 386.6 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0182/0.3608, allocations: 17.57 MB / 404.2 MB, free: 5.902 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3608, allocations: 0 / 404.2 MB, free: 5.902 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.095e-06/0.3608, allocations: 8 kB / 404.2 MB, free: 5.895 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004109/0.3612, allocations: 3.938 kB / 404.2 MB, free: 5.891 MB / 334.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.02868/0.3899, allocations: 10.76 MB / 414.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.39, allocations: 8.031 kB / 415 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04761/0.4376, allocations: 8.486 MB / 423.4 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01196/0.4496, allocations: 5.567 MB / 429 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006856/0.4503, allocations: 0.6701 MB / 429.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003365/0.4537, allocations: 0.8671 MB / 430.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03924/0.4929, allocations: 15.98 MB / 446.5 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003159/0.4933, allocations: 11.89 kB / 446.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001755/0.4951, allocations: 372 kB / 446.9 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004874/0.4956, allocations: 0.5543 MB / 447.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3815/0.8771, allocations: 15.71 MB / 463.2 MB, free: 94.63 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07389/0.951, allocations: 48.45 MB / 0.4996 GB, free: 56.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01613/0.9672, allocations: 19.32 MB / 0.5185 GB, free: 35.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004513/0.9718, allocations: 3.59 MB / 0.522 GB, free: 31.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003117/0.9721, allocations: 184.1 kB / 0.5222 GB, free: 31.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.232e-05/0.9722, allocations: 82.56 kB / 0.5222 GB, free: 31.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=468): time 6.763e-06/0.9722, allocations: 0 / 0.5222 GB, free: 31.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=468): time 0.02177/0.994, allocations: 11.59 MB / 0.5336 GB, free: 19.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/0.9941, allocations: 129.1 kB / 0.5337 GB, free: 19.65 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005381/0.9995, allocations: 3.846 MB / 0.5374 GB, free: 15.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009797/1, allocations: 97.7 kB / 0.5375 GB, free: 15.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00199/1.002, allocations: 3.897 MB / 0.5413 GB, free: 11.78 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001599/1.004, allocations: 1.603 MB / 0.5429 GB, free: 10.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000723/1.005, allocations: 0.5763 MB / 0.5435 GB, free: 9.609 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.06e-05/1.005, allocations: 301.1 kB / 0.5437 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004957/1.01, allocations: 3.684 MB / 0.5473 GB, free: 5.625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00662/1.016, allocations: 6.528 MB / 0.5537 GB, free: 13.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01573/1.032, allocations: 10.82 MB / 0.5643 GB, free: 1.637 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001153/1.032, allocations: 28 kB / 0.5643 GB, free: 1.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02662/1.059, allocations: 11.94 MB / 0.576 GB, free: 5.594 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.91e-05/1.059, allocations: 44 kB / 0.576 GB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001887/1.059, allocations: 92 kB / 0.5761 GB, free: 5.461 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005211/1.065, allocations: 1.613 MB / 0.5777 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007106/1.072, allocations: 1.669 MB / 0.5793 GB, free: 2.156 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01987/1.092, allocations: 16.22 MB / 0.5952 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00713/1.099, allocations: 0.9523 MB / 0.5961 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001675/1.1, allocations: 360 kB / 0.5964 GB, free: 15.81 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.009156/1.11, allocations: 3.754 MB / 0.6001 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000989/1.111, allocations: 395.1 kB / 0.6005 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01526/1.126, allocations: 8.576 MB / 0.6088 GB, free: 2.992 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.286e-05/1.126, allocations: 48 kB / 0.6089 GB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.353e-05/1.126, allocations: 12 kB / 0.6089 GB, free: 2.934 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.938e-05/1.126, allocations: 31.91 kB / 0.6089 GB, free: 2.902 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2792/1.405, allocations: 16.91 MB / 0.6254 GB, free: 140.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-05/1.405, allocations: 3.844 kB / 0.6255 GB, free: 140.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003647/1.409, allocations: 0.8611 MB / 0.6263 GB, free: 140.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004665/1.414, allocations: 1.5 MB / 0.6278 GB, free: 139.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009059/1.415, allocations: 107.5 kB / 0.6279 GB, free: 139.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0162/1.431, allocations: 16.02 MB / 0.6435 GB, free: 128.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.431, allocations: 5.969 kB / 0.6435 GB, free: 128.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01907/1.45, allocations: 12.22 MB / 0.6554 GB, free: 120.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00313/1.453, allocations: 1.109 MB / 0.6565 GB, free: 119.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008448/1.454, allocations: 89.8 kB / 0.6566 GB, free: 119.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002689/1.457, allocations: 312.2 kB / 0.6569 GB, free: 119.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007683/1.458, allocations: 314.4 kB / 0.6572 GB, free: 119.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002588/1.458, allocations: 139.4 kB / 0.6573 GB, free: 119.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003907/1.462, allocations: 2.576 MB / 0.6599 GB, free: 117.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/1.462, allocations: 2.406 kB / 0.6599 GB, free: 117.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00941/1.471, allocations: 2.37 MB / 0.6622 GB, free: 114.8 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.001363/1.473, allocations: 265.9 kB / 0.6624 GB, free: 114.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01556/1.488, allocations: 9.359 MB / 0.6716 GB, free: 105.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.712e-05/1.488, allocations: 2.625 kB / 0.6716 GB, free: 105.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007533/1.496, allocations: 4.478 MB / 0.6759 GB, free: 101.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005678/1.502, allocations: 0.7045 MB / 0.6766 GB, free: 100.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02982/1.531, allocations: 20.8 MB / 0.6969 GB, free: 79.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006177/1.538, allocations: 6.046 MB / 0.7028 GB, free: 73.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.008152/1.546, allocations: 3.259 MB / 0.706 GB, free: 70.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001364/1.547, allocations: 371.4 kB / 0.7064 GB, free: 70.02 MB / 446.1 MB Notification: Performance of SimCode: time 1.012e-06/1.547, allocations: 0 / 0.7064 GB, free: 70.02 MB / 446.1 MB Notification: Performance of Templates: time 0.1087/1.656, allocations: 64.41 MB / 0.7693 GB, free: 5.605 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1)