Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001349/0.001349, allocations: 106.5 kB / 17.06 MB, free: 6.102 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.001246/0.001246, allocations: 194.9 kB / 18 MB, free: 5.172 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.408/1.408, allocations: 205.1 MB / 223.9 MB, free: 12.2 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.001233/0.001233, allocations: 47.92 kB / 327.9 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08946/0.09071, allocations: 46.62 MB / 374.5 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.1839/0.2746, allocations: 9.924 MB / 384.4 MB, free: 7.844 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006371/0.2811, allocations: 3.352 MB / 387.8 MB, free: 6.062 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001838/0.2829, allocations: 60.47 kB / 387.8 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008081/0.2911, allocations: 3.828 MB / 391.7 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004341/0.2954, allocations: 1.4 MB / 393.1 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002666/0.2981, allocations: 1.145 MB / 394.2 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00947/0.3076, allocations: 9.137 MB / 403.3 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02448/0.3321, allocations: 20.34 MB / 423.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007173/0.3393, allocations: 5.062 MB / 428.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009074/0.3484, allocations: 6.075 MB / 434.8 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003081/0.3515, allocations: 1.398 MB / 436.2 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004772/0.3563, allocations: 1.629 MB / 437.8 MB, free: 200 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003298/0.3596, allocations: 2.919 MB / 440.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007816/0.3675, allocations: 5.455 MB / 446.2 MB, free: 7.793 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01763/0.3851, allocations: 18.74 MB / 465 MB, free: 4.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3852, allocations: 0 / 465 MB, free: 4.992 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.055e-06/0.3852, allocations: 0 / 465 MB, free: 4.992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003399/0.3855, allocations: 3.938 kB / 465 MB, free: 4.988 MB / 382.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.03281/0.4183, allocations: 12.46 MB / 477.4 MB, free: 8.434 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.4184, allocations: 11.89 kB / 477.4 MB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04776/0.4662, allocations: 8.542 MB / 486 MB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01155/0.4777, allocations: 5.397 MB / 491.4 MB, free: 10.4 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005785/0.4784, allocations: 0.6622 MB / 492 MB, free: 9.738 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003015/0.4814, allocations: 0.8671 MB / 492.9 MB, free: 8.871 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03316/0.5145, allocations: 15.98 MB / 0.497 GB, free: 8.852 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002833/0.5149, allocations: 7.953 kB / 0.497 GB, free: 8.844 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002766/0.5177, allocations: 372 kB / 0.4973 GB, free: 8.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006391/0.5183, allocations: 0.5621 MB / 0.4979 GB, free: 7.914 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02999/0.5483, allocations: 15.71 MB / 0.5132 GB, free: 8.176 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5031/1.051, allocations: 47.84 MB / 0.5599 GB, free: 119.2 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01719/1.069, allocations: 19.33 MB / 0.5788 GB, free: 106.1 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005151/1.074, allocations: 3.587 MB / 0.5823 GB, free: 106 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004404/1.074, allocations: 182.5 kB / 0.5825 GB, free: 105.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.952e-05/1.074, allocations: 82.81 kB / 0.5826 GB, free: 105.9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=468): time 6.132e-06/1.074, allocations: 0 / 0.5826 GB, free: 105.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=468): time 0.02236/1.097, allocations: 11.57 MB / 0.5939 GB, free: 103.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/1.097, allocations: 136 kB / 0.594 GB, free: 103.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005305/1.102, allocations: 3.846 MB / 0.5977 GB, free: 102.1 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000674/1.103, allocations: 104 kB / 0.5978 GB, free: 102 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002101/1.105, allocations: 4.047 MB / 0.6018 GB, free: 99.59 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001519/1.107, allocations: 1.689 MB / 0.6034 GB, free: 98.45 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001794/1.108, allocations: 1.471 MB / 0.6049 GB, free: 97.75 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.313e-05/1.108, allocations: 304.9 kB / 0.6052 GB, free: 97.46 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004542/1.113, allocations: 3.681 MB / 0.6088 GB, free: 96.18 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006782/1.12, allocations: 6.527 MB / 0.6151 GB, free: 91.2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0116/1.131, allocations: 10.83 MB / 0.6257 GB, free: 83.09 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.453e-05/1.132, allocations: 25.88 kB / 0.6257 GB, free: 83.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02019/1.152, allocations: 11.97 MB / 0.6374 GB, free: 72.44 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.541e-05/1.152, allocations: 47.98 kB / 0.6375 GB, free: 72.39 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001351/1.152, allocations: 96 kB / 0.6376 GB, free: 72.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004516/1.157, allocations: 1.618 MB / 0.6391 GB, free: 70.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006109/1.163, allocations: 1.669 MB / 0.6408 GB, free: 68.99 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01569/1.178, allocations: 17.66 MB / 0.658 GB, free: 50.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005985/1.184, allocations: 0.982 MB / 0.659 GB, free: 49.53 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001451/1.186, allocations: 360 kB / 0.6593 GB, free: 49.18 MB / 478.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.0064/1.192, allocations: 3.75 MB / 0.663 GB, free: 45.41 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008029/1.193, allocations: 409.4 kB / 0.6634 GB, free: 45.01 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01316/1.206, allocations: 8.573 MB / 0.6717 GB, free: 36.36 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.308e-05/1.206, allocations: 48 kB / 0.6718 GB, free: 36.31 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.509e-05/1.206, allocations: 12 kB / 0.6718 GB, free: 36.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-05/1.206, allocations: 39.77 kB / 0.6718 GB, free: 36.26 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02777/1.234, allocations: 16.79 MB / 0.6882 GB, free: 19.42 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.278e-05/1.234, allocations: 3.984 kB / 0.6882 GB, free: 19.41 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003345/1.238, allocations: 0.862 MB / 0.6891 GB, free: 18.55 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004349/1.242, allocations: 1.519 MB / 0.6906 GB, free: 17.01 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001004/1.243, allocations: 99.97 kB / 0.6907 GB, free: 16.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01591/1.259, allocations: 17.48 MB / 0.7077 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/1.259, allocations: 8 kB / 0.7077 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02086/1.28, allocations: 12.25 MB / 0.7197 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002915/1.283, allocations: 1.126 MB / 0.7208 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001062/1.284, allocations: 82.62 kB / 0.7209 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002818/1.287, allocations: 311.7 kB / 0.7212 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007386/1.288, allocations: 311.6 kB / 0.7215 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003234/1.288, allocations: 144 kB / 0.7216 GB, free: 172 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004313/1.292, allocations: 2.57 MB / 0.7241 GB, free: 13.6 MB / 0.4982 GB Notification: Performance of sort global known variables: time 3.21e-07/1.292, allocations: 0 / 0.7241 GB, free: 13.6 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.009174/1.301, allocations: 2.4 MB / 0.7265 GB, free: 11.2 MB / 0.4982 GB 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.001507/1.303, allocations: 269.9 kB / 0.7267 GB, free: 10.92 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01798/1.321, allocations: 9.381 MB / 0.7359 GB, free: 1.43 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/1.321, allocations: 8.25 kB / 0.7359 GB, free: 1.422 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.00842/1.329, allocations: 4.484 MB / 0.7403 GB, free: 12.86 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004707/1.334, allocations: 0.7312 MB / 0.741 GB, free: 12.12 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2519/1.586, allocations: 17.06 MB / 0.7576 GB, free: 164.6 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008777/1.595, allocations: 6.041 MB / 0.7635 GB, free: 163.7 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.008738/1.604, allocations: 3.256 MB / 0.7667 GB, free: 163.6 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001523/1.605, allocations: 373.5 kB / 0.7671 GB, free: 163.6 MB / 0.5138 GB Notification: Performance of SimCode: time 2.645e-06/1.605, allocations: 1.75 kB / 0.7671 GB, free: 163.6 MB / 0.5138 GB Notification: Performance of Templates: time 0.1053/1.711, allocations: 65.54 MB / 0.8311 GB, free: 121.5 MB / 0.5138 GB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1)