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.001027/0.001027, allocations: 111.2 kB / 16.51 MB, free: 6.715 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.001273/0.001273, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.386/1.386, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001315/0.001315, allocations: 47.94 kB / 279.3 MB, free: 3.562 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1173, allocations: 46.62 MB / 326 MB, free: 4.875 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.01149/0.1288, allocations: 9.797 MB / 335.8 MB, free: 11.02 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006762/0.1356, allocations: 3.347 MB / 339.1 MB, free: 7.664 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008311/0.1364, allocations: 55.81 kB / 339.2 MB, free: 7.609 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007041/0.1435, allocations: 3.623 MB / 342.8 MB, free: 3.973 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003451/0.147, allocations: 1.296 MB / 344.1 MB, free: 2.672 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00227/0.1493, allocations: 1.106 MB / 345.2 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.009805/0.1591, allocations: 9.079 MB / 354.3 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02434/0.1835, allocations: 17.29 MB / 371.6 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006966/0.1905, allocations: 4.503 MB / 376.1 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2466/0.4371, allocations: 5.919 MB / 382 MB, free: 26.14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003806/0.441, allocations: 1.025 MB / 383 MB, free: 26.14 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00475/0.4457, allocations: 1.256 MB / 384.3 MB, free: 26.14 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003226/0.449, allocations: 2.526 MB / 386.8 MB, free: 26.14 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008891/0.4579, allocations: 5.05 MB / 391.8 MB, free: 25.31 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01629/0.4742, allocations: 18.34 MB / 410.2 MB, free: 14.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.4742, allocations: 0 / 410.2 MB, free: 14.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4742, allocations: 0 / 410.2 MB, free: 14.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004572/0.4747, allocations: 2.062 kB / 410.2 MB, free: 14.59 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.0369/0.5116, allocations: 12.31 MB / 422.5 MB, free: 7.164 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.257e-05/0.5117, allocations: 13.44 kB / 422.5 MB, free: 7.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04546/0.5572, allocations: 8.456 MB / 431 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01644/0.5737, allocations: 5.377 MB / 436.3 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000882/0.5746, allocations: 0.661 MB / 437 MB, free: 9.582 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005726/0.5804, allocations: 0.8759 MB / 437.9 MB, free: 8.715 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05032/0.6307, allocations: 15.97 MB / 453.8 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004282/0.6312, allocations: 11.91 kB / 453.9 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004456/0.6356, allocations: 369 kB / 454.2 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006763/0.6363, allocations: 0.5544 MB / 454.8 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03651/0.6729, allocations: 15.71 MB / 470.5 MB, free: 8.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08858/0.7615, allocations: 48.24 MB / 0.5066 GB, free: 7.441 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02025/0.7818, allocations: 19.33 MB / 0.5254 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2336/1.015, allocations: 3.582 MB / 0.5289 GB, free: 134.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006133/1.016, allocations: 180.6 kB / 0.5291 GB, free: 134.4 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.257e-05/1.016, allocations: 82.19 kB / 0.5292 GB, free: 134.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=468): time 7.013e-06/1.016, allocations: 0.5 kB / 0.5292 GB, free: 134.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=468): time 0.02371/1.04, allocations: 11.52 MB / 0.5404 GB, free: 131.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/1.04, allocations: 130 kB / 0.5406 GB, free: 131.6 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006079/1.046, allocations: 3.839 MB / 0.5443 GB, free: 130.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006317/1.047, allocations: 100.6 kB / 0.5444 GB, free: 130.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002193/1.049, allocations: 3.892 MB / 0.5482 GB, free: 127.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001433/1.05, allocations: 1.616 MB / 0.5498 GB, free: 126.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001942/1.052, allocations: 1.469 MB / 0.5512 GB, free: 125.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.549e-05/1.052, allocations: 305 kB / 0.5515 GB, free: 125.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004637/1.057, allocations: 3.684 MB / 0.5551 GB, free: 123.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006943/1.064, allocations: 6.524 MB / 0.5615 GB, free: 118.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01125/1.075, allocations: 10.82 MB / 0.572 GB, free: 111 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-05/1.075, allocations: 28 kB / 0.5721 GB, free: 110.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01684/1.092, allocations: 11.94 MB / 0.5837 GB, free: 100.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.264e-05/1.092, allocations: 44.66 kB / 0.5838 GB, free: 100.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.968e-05/1.092, allocations: 92.31 kB / 0.5839 GB, free: 100.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004057/1.096, allocations: 1.615 MB / 0.5854 GB, free: 99.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004559/1.101, allocations: 1.669 MB / 0.5871 GB, free: 97.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01422/1.115, allocations: 16.09 MB / 0.6028 GB, free: 80.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005569/1.121, allocations: 0.9601 MB / 0.6037 GB, free: 79.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005112/1.121, allocations: 360 kB / 0.6041 GB, free: 79.44 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.00599/1.127, allocations: 3.758 MB / 0.6077 GB, free: 75.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006919/1.128, allocations: 391.1 kB / 0.6081 GB, free: 75.28 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01175/1.14, allocations: 8.571 MB / 0.6165 GB, free: 66.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.319e-05/1.14, allocations: 51.98 kB / 0.6165 GB, free: 66.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.767e-05/1.14, allocations: 12 kB / 0.6165 GB, free: 66.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-05/1.14, allocations: 23.91 kB / 0.6166 GB, free: 66.55 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0221/1.162, allocations: 16.92 MB / 0.6331 GB, free: 49.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/1.162, allocations: 0 / 0.6331 GB, free: 49.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002913/1.165, allocations: 0.862 MB / 0.6339 GB, free: 48.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003855/1.169, allocations: 1.51 MB / 0.6354 GB, free: 47.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002763/1.169, allocations: 99.98 kB / 0.6355 GB, free: 47.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01383/1.183, allocations: 15.9 MB / 0.651 GB, free: 30.39 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.183, allocations: 4 kB / 0.651 GB, free: 30.39 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0162/1.199, allocations: 12.22 MB / 0.663 GB, free: 17.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002465/1.202, allocations: 1.108 MB / 0.664 GB, free: 16.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005388/1.202, allocations: 84.12 kB / 0.6641 GB, free: 16.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002106/1.204, allocations: 311.7 kB / 0.6644 GB, free: 16.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007434/1.205, allocations: 311.6 kB / 0.6647 GB, free: 16.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000269/1.205, allocations: 138.3 kB / 0.6648 GB, free: 15.99 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003461/1.209, allocations: 2.57 MB / 0.6674 GB, free: 13.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/1.209, allocations: 3.938 kB / 0.6674 GB, free: 13.42 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.007181/1.216, allocations: 2.388 MB / 0.6697 GB, free: 11.03 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.0005725/1.217, allocations: 261.8 kB / 0.6699 GB, free: 10.76 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01231/1.229, allocations: 9.346 MB / 0.6791 GB, free: 1.312 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.229, allocations: 8.062 kB / 0.6791 GB, free: 1.305 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006644/1.236, allocations: 4.47 MB / 0.6834 GB, free: 12.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003974/1.24, allocations: 0.6997 MB / 0.6841 GB, free: 12.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2417/1.481, allocations: 20.74 MB / 0.7044 GB, free: 130.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009441/1.491, allocations: 6.045 MB / 0.7103 GB, free: 129.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.009751/1.501, allocations: 3.257 MB / 0.7135 GB, free: 129.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001592/1.502, allocations: 376.5 kB / 0.7138 GB, free: 129.5 MB / 446.1 MB Notification: Performance of SimCode: time 1.913e-06/1.502, allocations: 0 / 0.7138 GB, free: 129.5 MB / 446.1 MB Notification: Performance of Templates: time 0.102/1.604, allocations: 65.71 MB / 0.778 GB, free: 80.09 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)