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.009177/0.009177, allocations: 104 kB / 15.73 MB, free: 6.043 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.002057/0.002057, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.411/1.411, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001117/0.001117, allocations: 54.39 kB / 326.6 MB, free: 14.3 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07804/0.07917, allocations: 46.62 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.01003/0.08923, allocations: 9.918 MB / 383.1 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006033/0.0953, allocations: 3.338 MB / 386.4 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.09663, allocations: 67.81 kB / 386.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00805/0.1047, allocations: 3.847 MB / 390.3 MB, free: 88 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004169/0.1089, allocations: 1.419 MB / 391.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00254/0.1115, allocations: 1.137 MB / 392.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008848/0.1203, allocations: 9.142 MB / 402 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02598/0.1464, allocations: 20.33 MB / 422.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006697/0.1531, allocations: 5.07 MB / 427.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00845/0.1616, allocations: 6.075 MB / 433.5 MB, free: 4.699 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002986/0.1646, allocations: 1.398 MB / 434.9 MB, free: 3.301 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004335/0.169, allocations: 1.633 MB / 436.5 MB, free: 1.668 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004587/0.1736, allocations: 2.927 MB / 439.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008345/0.1819, allocations: 5.455 MB / 444.9 MB, free: 9.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2029/0.3848, allocations: 18.68 MB / 463.6 MB, free: 41.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/0.3849, allocations: 0 / 463.6 MB, free: 41.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.566e-06/0.3849, allocations: 5.359 kB / 463.6 MB, free: 41.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006897/0.3856, allocations: 0 / 463.6 MB, free: 41.94 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.0449/0.4305, allocations: 12.26 MB / 475.9 MB, free: 36.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/0.4306, allocations: 13.36 kB / 475.9 MB, free: 36.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04861/0.4792, allocations: 8.5 MB / 484.4 MB, free: 32.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01396/0.4932, allocations: 5.391 MB / 489.8 MB, free: 29.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005832/0.4939, allocations: 0.6602 MB / 490.4 MB, free: 29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005775/0.4996, allocations: 0.8651 MB / 491.3 MB, free: 28.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04207/0.5418, allocations: 15.98 MB / 0.4954 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004451/0.5423, allocations: 15.89 kB / 0.4954 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004828/0.5471, allocations: 367.5 kB / 0.4958 GB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000486/0.5476, allocations: 0.5543 MB / 0.4963 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03073/0.5784, allocations: 15.71 MB / 0.5116 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08875/0.6672, allocations: 47.73 MB / 0.5582 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02007/0.6873, allocations: 19.32 MB / 0.5771 GB, free: 7.434 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005619/0.6929, allocations: 3.589 MB / 0.5806 GB, free: 3.84 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004761/0.6934, allocations: 179.6 kB / 0.5808 GB, free: 3.66 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.86e-05/0.6935, allocations: 86.56 kB / 0.5809 GB, free: 3.566 MB / 462.1 MB Notification: Performance of pre-optimization done (n=468): time 6.432e-06/0.6935, allocations: 0 / 0.5809 GB, free: 3.566 MB / 462.1 MB Notification: Performance of matching and sorting (n=468): time 0.02466/0.7182, allocations: 11.56 MB / 0.5922 GB, free: 7.934 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.339e-05/0.7183, allocations: 125.1 kB / 0.5923 GB, free: 7.793 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005848/0.7242, allocations: 3.839 MB / 0.596 GB, free: 3.945 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001031/0.7252, allocations: 101.7 kB / 0.5961 GB, free: 3.84 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002511/0.7278, allocations: 3.896 MB / 0.5999 GB, free: 15.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00202/0.7298, allocations: 1.608 MB / 0.6015 GB, free: 14.33 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002216/0.732, allocations: 1.468 MB / 0.6029 GB, free: 12.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.797e-05/0.7321, allocations: 313 kB / 0.6032 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00545/0.7376, allocations: 3.68 MB / 0.6068 GB, free: 8.863 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007393/0.745, allocations: 6.528 MB / 0.6132 GB, free: 1.082 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01322/0.7582, allocations: 10.83 MB / 0.6238 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.133e-05/0.7583, allocations: 24 kB / 0.6238 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=938) (initialization): time 0.2573/1.016, allocations: 11.95 MB / 0.6355 GB, free: 166.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/1.016, allocations: 44.84 kB / 0.6355 GB, free: 166.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000226/1.016, allocations: 93.5 kB / 0.6356 GB, free: 166.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005624/1.022, allocations: 1.622 MB / 0.6372 GB, free: 166.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006782/1.028, allocations: 1.663 MB / 0.6388 GB, free: 166.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01774/1.046, allocations: 17.65 MB / 0.656 GB, free: 155.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006443/1.053, allocations: 0.9576 MB / 0.657 GB, free: 155 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00124/1.054, allocations: 360.2 kB / 0.6573 GB, free: 155 MB / 0.4981 GB 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.006561/1.061, allocations: 3.756 MB / 0.661 GB, free: 153.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008923/1.061, allocations: 394.1 kB / 0.6614 GB, free: 153.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01458/1.076, allocations: 8.564 MB / 0.6697 GB, free: 149.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.76e-05/1.076, allocations: 47.88 kB / 0.6698 GB, free: 149.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.024e-05/1.076, allocations: 11.03 kB / 0.6698 GB, free: 149.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001016/1.076, allocations: 38.22 kB / 0.6698 GB, free: 149.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02847/1.105, allocations: 16.78 MB / 0.6862 GB, free: 134.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.912e-05/1.105, allocations: 0 / 0.6862 GB, free: 134.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003798/1.109, allocations: 0.8623 MB / 0.6871 GB, free: 134 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004744/1.113, allocations: 1.518 MB / 0.6885 GB, free: 132.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008218/1.114, allocations: 99.97 kB / 0.6886 GB, free: 132.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01651/1.131, allocations: 17.46 MB / 0.7057 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/1.131, allocations: 11.92 kB / 0.7057 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0201/1.151, allocations: 12.23 MB / 0.7176 GB, free: 101.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003504/1.155, allocations: 1.096 MB / 0.7187 GB, free: 100.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00123/1.156, allocations: 88.19 kB / 0.7188 GB, free: 100.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003032/1.159, allocations: 315.6 kB / 0.7191 GB, free: 100.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007171/1.16, allocations: 315.6 kB / 0.7194 GB, free: 99.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002846/1.16, allocations: 136 kB / 0.7195 GB, free: 99.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003249/1.163, allocations: 2.574 MB / 0.722 GB, free: 97.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.21e-07/1.163, allocations: 4 kB / 0.722 GB, free: 97.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008367/1.172, allocations: 2.378 MB / 0.7244 GB, free: 94.73 MB / 0.4981 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.0009524/1.173, allocations: 265.6 kB / 0.7246 GB, free: 94.47 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01422/1.187, allocations: 9.377 MB / 0.7338 GB, free: 84.99 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/1.187, allocations: 6.844 kB / 0.7338 GB, free: 84.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007076/1.194, allocations: 4.475 MB / 0.7382 GB, free: 80.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004946/1.199, allocations: 0.7411 MB / 0.7389 GB, free: 79.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03056/1.229, allocations: 16.82 MB / 0.7553 GB, free: 62.83 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005241/1.235, allocations: 6.042 MB / 0.7612 GB, free: 56.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007133/1.242, allocations: 3.255 MB / 0.7644 GB, free: 53.49 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001422/1.243, allocations: 375.4 kB / 0.7647 GB, free: 53.12 MB / 0.4981 GB Notification: Performance of SimCode: time 1.553e-06/1.243, allocations: 0 / 0.7647 GB, free: 53.12 MB / 0.4981 GB Notification: Performance of Templates: time 0.4598/1.703, allocations: 65.53 MB / 0.8287 GB, free: 157 MB / 0.4981 GB 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)