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.0008841/0.0008839, allocations: 93.88 kB / 16.65 MB, free: 6.547 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.0008006/0.0008007, allocations: 178.7 kB / 17.56 MB, free: 6.18 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.328/1.328, allocations: 205.4 MB / 223.7 MB, free: 13.06 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.0004505/0.0004505, allocations: 12 kB / 280.8 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1028, allocations: 47.58 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.009031/0.1118, allocations: 9.175 MB / 337.5 MB, free: 10.53 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007254/0.1191, allocations: 3.3 MB / 340.8 MB, free: 7.219 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.1202, allocations: 51.88 kB / 340.9 MB, free: 7.168 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001991/0.1222, allocations: 0.7079 MB / 341.6 MB, free: 6.457 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003337/0.1255, allocations: 1.296 MB / 342.9 MB, free: 5.156 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002166/0.1277, allocations: 1.064 MB / 343.9 MB, free: 4.09 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00993/0.1377, allocations: 9.06 MB / 353 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02902/0.1667, allocations: 18.98 MB / 372 MB, free: 7.879 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007041/0.1738, allocations: 3.578 MB / 375.5 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2406/0.4145, allocations: 4.716 MB / 380.3 MB, free: 24.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003319/0.4178, allocations: 0.5813 MB / 380.8 MB, free: 24.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005463/0.4233, allocations: 0.8187 MB / 381.7 MB, free: 24.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002924/0.4263, allocations: 1.889 MB / 383.5 MB, free: 24.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01222/0.4385, allocations: 4.337 MB / 387.9 MB, free: 23.89 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02205/0.4606, allocations: 17.58 MB / 405.5 MB, free: 16.83 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.4606, allocations: 0 / 405.5 MB, free: 16.83 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.447e-06/0.4607, allocations: 0 / 405.5 MB, free: 16.83 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0007498/0.4614, allocations: 3.781 kB / 405.5 MB, free: 16.83 MB / 318.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.04015/0.5016, allocations: 10.76 MB / 416.2 MB, free: 11.47 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/0.5016, allocations: 11 kB / 416.2 MB, free: 11.47 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0594/0.5611, allocations: 8.497 MB / 424.7 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01436/0.5755, allocations: 5.562 MB / 430.3 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007291/0.5763, allocations: 0.6611 MB / 431 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005369/0.5816, allocations: 0.8683 MB / 431.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04867/0.6303, allocations: 15.97 MB / 447.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003634/0.6307, allocations: 18.53 kB / 447.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003703/0.6345, allocations: 366.7 kB / 448.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005928/0.6351, allocations: 0.5582 MB / 448.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03578/0.6709, allocations: 15.71 MB / 464.4 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09705/0.7679, allocations: 48.46 MB / 0.5009 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02122/0.7892, allocations: 19.32 MB / 0.5197 GB, free: 8.719 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006088/0.7953, allocations: 3.586 MB / 0.5232 GB, free: 5.129 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004655/0.7959, allocations: 184.6 kB / 0.5234 GB, free: 4.949 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.267e-05/0.7959, allocations: 86.31 kB / 0.5235 GB, free: 4.859 MB / 430.1 MB Notification: Performance of pre-optimization done (n=468): time 6.492e-06/0.796, allocations: 0 / 0.5235 GB, free: 4.859 MB / 430.1 MB Notification: Performance of matching and sorting (n=468): time 0.2716/1.068, allocations: 11.58 MB / 0.5348 GB, free: 134.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/1.068, allocations: 130.5 kB / 0.5349 GB, free: 134.4 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007963/1.076, allocations: 3.838 MB / 0.5387 GB, free: 134.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000695/1.076, allocations: 103.3 kB / 0.5388 GB, free: 134.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002112/1.079, allocations: 3.901 MB / 0.5426 GB, free: 131.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001367/1.08, allocations: 1.605 MB / 0.5442 GB, free: 130.1 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007426/1.081, allocations: 0.5777 MB / 0.5447 GB, free: 129.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.202e-05/1.081, allocations: 301.1 kB / 0.545 GB, free: 129.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005452/1.086, allocations: 3.684 MB / 0.5486 GB, free: 128.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006163/1.092, allocations: 6.526 MB / 0.555 GB, free: 123.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01096/1.103, allocations: 10.82 MB / 0.5655 GB, free: 116.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.727e-05/1.103, allocations: 27.53 kB / 0.5656 GB, free: 116.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01857/1.122, allocations: 11.94 MB / 0.5772 GB, free: 107.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.889e-05/1.122, allocations: 51.97 kB / 0.5773 GB, free: 107.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00016/1.122, allocations: 95.8 kB / 0.5774 GB, free: 107.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004598/1.127, allocations: 1.607 MB / 0.5789 GB, free: 106.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006/1.133, allocations: 1.661 MB / 0.5806 GB, free: 104.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01584/1.149, allocations: 16.23 MB / 0.5964 GB, free: 87.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007818/1.157, allocations: 0.9482 MB / 0.5973 GB, free: 86.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001623/1.158, allocations: 360 kB / 0.5977 GB, free: 86.38 MB / 430.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.008859/1.167, allocations: 3.758 MB / 0.6014 GB, free: 82.61 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009582/1.168, allocations: 395.1 kB / 0.6017 GB, free: 82.22 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01328/1.181, allocations: 8.564 MB / 0.6101 GB, free: 73.58 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.011e-05/1.182, allocations: 51.94 kB / 0.6101 GB, free: 73.53 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.997e-05/1.182, allocations: 12 kB / 0.6102 GB, free: 73.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-05/1.182, allocations: 27.91 kB / 0.6102 GB, free: 73.49 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0265/1.208, allocations: 16.92 MB / 0.6267 GB, free: 56.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.656e-05/1.208, allocations: 4 kB / 0.6267 GB, free: 56.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003221/1.211, allocations: 0.8596 MB / 0.6275 GB, free: 55.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004267/1.216, allocations: 1.514 MB / 0.629 GB, free: 54.11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003915/1.216, allocations: 104 kB / 0.6291 GB, free: 54.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01501/1.231, allocations: 16.03 MB / 0.6448 GB, free: 37.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.231, allocations: 4 kB / 0.6448 GB, free: 37.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01698/1.248, allocations: 12.22 MB / 0.6567 GB, free: 24.74 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002686/1.251, allocations: 1.119 MB / 0.6578 GB, free: 23.6 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006447/1.252, allocations: 84 kB / 0.6579 GB, free: 23.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002504/1.254, allocations: 311.6 kB / 0.6582 GB, free: 23.21 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007174/1.255, allocations: 315.6 kB / 0.6585 GB, free: 22.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002591/1.255, allocations: 139.9 kB / 0.6586 GB, free: 22.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003898/1.259, allocations: 2.57 MB / 0.6611 GB, free: 20.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.259, allocations: 4 kB / 0.6611 GB, free: 20.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.01007/1.269, allocations: 2.38 MB / 0.6635 GB, free: 17.81 MB / 430.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.001195/1.27, allocations: 254.1 kB / 0.6637 GB, free: 17.55 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01459/1.285, allocations: 9.353 MB / 0.6728 GB, free: 8.102 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/1.285, allocations: 3.938 kB / 0.6728 GB, free: 8.098 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006692/1.292, allocations: 4.477 MB / 0.6772 GB, free: 3.543 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006356/1.298, allocations: 0.7076 MB / 0.6779 GB, free: 2.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2689/1.567, allocations: 20.8 MB / 0.6982 GB, free: 131.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009384/1.576, allocations: 6.041 MB / 0.7041 GB, free: 130.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.009772/1.586, allocations: 3.264 MB / 0.7073 GB, free: 130.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/1.587, allocations: 375.3 kB / 0.7077 GB, free: 130.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.573e-06/1.587, allocations: 0 / 0.7077 GB, free: 130.1 MB / 446.1 MB Notification: Performance of Templates: time 0.108/1.695, allocations: 64.4 MB / 0.7705 GB, free: 83.03 MB / 446.1 MB 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)