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.001472/0.001472, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.378/1.378, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.001446/0.001446, allocations: 51.92 kB / 278.7 MB, free: 12.32 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2441, allocations: 46.63 MB / 325.3 MB, free: 1.836 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.01055/0.2547, allocations: 9.922 MB / 335.3 MB, free: 9.898 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007177/0.2619, allocations: 3.349 MB / 338.6 MB, free: 6.609 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001843/0.2638, allocations: 59.81 kB / 338.7 MB, free: 6.551 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008637/0.2725, allocations: 3.823 MB / 342.5 MB, free: 2.711 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004839/0.2773, allocations: 1.423 MB / 343.9 MB, free: 1.281 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002788/0.2801, allocations: 1.137 MB / 345 MB, free: 144 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.009914/0.2901, allocations: 9.072 MB / 354.1 MB, free: 7.035 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02974/0.3198, allocations: 20.39 MB / 374.5 MB, free: 2.504 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007165/0.327, allocations: 5.047 MB / 379.6 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009768/0.3369, allocations: 6.114 MB / 385.7 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003904/0.3408, allocations: 1.398 MB / 387.1 MB, free: 5.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005376/0.3462, allocations: 1.629 MB / 388.7 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004598/0.3508, allocations: 2.927 MB / 391.6 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01165/0.3625, allocations: 5.455 MB / 397.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02362/0.3862, allocations: 18.61 MB / 415.7 MB, free: 9.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3862, allocations: 0 / 415.7 MB, free: 9.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3863, allocations: 0 / 415.7 MB, free: 9.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0005591/0.3868, allocations: 0 / 415.7 MB, free: 9.211 MB / 350.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.03731/0.4241, allocations: 12.31 MB / 428 MB, free: 12.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.4242, allocations: 11.89 kB / 428 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04887/0.4731, allocations: 8.451 MB / 436.5 MB, free: 4.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01309/0.4862, allocations: 5.384 MB / 441.8 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006129/0.4869, allocations: 0.6584 MB / 442.5 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003616/0.4905, allocations: 0.871 MB / 443.4 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3806/0.8711, allocations: 15.97 MB / 459.3 MB, free: 93.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004222/0.8716, allocations: 10.03 kB / 459.3 MB, free: 93.94 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002928/0.8746, allocations: 374.7 kB / 459.7 MB, free: 93.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007799/0.8754, allocations: 0.5586 MB / 460.3 MB, free: 93.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03184/0.9072, allocations: 15.72 MB / 476 MB, free: 87.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07891/0.9862, allocations: 48.24 MB / 0.5119 GB, free: 42.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01641/1.003, allocations: 19.34 MB / 0.5308 GB, free: 21.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005013/1.008, allocations: 3.582 MB / 0.5343 GB, free: 17.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005302/1.008, allocations: 183.9 kB / 0.5345 GB, free: 17.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.715e-05/1.008, allocations: 86.56 kB / 0.5346 GB, free: 17.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=468): time 8.286e-06/1.008, allocations: 4 kB / 0.5346 GB, free: 17.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=468): time 0.02461/1.033, allocations: 11.54 MB / 0.5458 GB, free: 5.672 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.773e-05/1.033, allocations: 129.1 kB / 0.546 GB, free: 5.527 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007436/1.041, allocations: 3.842 MB / 0.5497 GB, free: 1.676 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009509/1.042, allocations: 97.7 kB / 0.5498 GB, free: 1.574 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002718/1.044, allocations: 3.894 MB / 0.5536 GB, free: 13.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002363/1.047, allocations: 1.614 MB / 0.5552 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00453/1.051, allocations: 1.464 MB / 0.5566 GB, free: 10.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.426e-05/1.051, allocations: 305.1 kB / 0.5569 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006544/1.058, allocations: 3.691 MB / 0.5605 GB, free: 6.539 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008417/1.066, allocations: 6.514 MB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01494/1.081, allocations: 10.83 MB / 0.5775 GB, free: 2.559 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001119/1.081, allocations: 31.94 kB / 0.5775 GB, free: 2.527 MB / 414.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02409/1.105, allocations: 11.96 MB / 0.5892 GB, free: 6.496 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001398/1.106, allocations: 44 kB / 0.5892 GB, free: 6.453 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001596/1.106, allocations: 92 kB / 0.5893 GB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005099/1.111, allocations: 1.632 MB / 0.5909 GB, free: 4.711 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00663/1.118, allocations: 1.669 MB / 0.5925 GB, free: 3.039 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02/1.138, allocations: 17.68 MB / 0.6098 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2073/1.345, allocations: 0.9415 MB / 0.6107 GB, free: 140.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00335/1.348, allocations: 363.8 kB / 0.6111 GB, free: 140.7 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.01052/1.359, allocations: 3.753 MB / 0.6147 GB, free: 140.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001941/1.361, allocations: 393.8 kB / 0.6151 GB, free: 140.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01884/1.38, allocations: 8.58 MB / 0.6235 GB, free: 138.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.643e-05/1.38, allocations: 50 kB / 0.6235 GB, free: 138.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.849e-05/1.38, allocations: 11.56 kB / 0.6235 GB, free: 138.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.511e-05/1.38, allocations: 24.75 kB / 0.6236 GB, free: 138.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03446/1.414, allocations: 16.94 MB / 0.6401 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-05/1.415, allocations: 3.875 kB / 0.6401 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003482/1.418, allocations: 0.862 MB / 0.6409 GB, free: 132.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004633/1.423, allocations: 1.513 MB / 0.6424 GB, free: 132 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009594/1.424, allocations: 102.6 kB / 0.6425 GB, free: 131.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01654/1.44, allocations: 17.48 MB / 0.6596 GB, free: 116.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.44, allocations: 3.938 kB / 0.6596 GB, free: 116.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02052/1.461, allocations: 12.23 MB / 0.6715 GB, free: 104 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002751/1.464, allocations: 1.1 MB / 0.6726 GB, free: 102.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001403/1.465, allocations: 84 kB / 0.6727 GB, free: 102.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003399/1.468, allocations: 303.7 kB / 0.673 GB, free: 102.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001007/1.469, allocations: 331.4 kB / 0.6733 GB, free: 102.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005356/1.47, allocations: 136 kB / 0.6734 GB, free: 102 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004387/1.474, allocations: 2.574 MB / 0.6759 GB, free: 99.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.012e-06/1.474, allocations: 0 / 0.6759 GB, free: 99.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008562/1.483, allocations: 2.385 MB / 0.6783 GB, free: 97.08 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.001007/1.484, allocations: 260.8 kB / 0.6785 GB, free: 96.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02634/1.51, allocations: 15.48 MB / 0.6936 GB, free: 81.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.237e-05/1.51, allocations: 1.875 kB / 0.6936 GB, free: 81.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007841/1.518, allocations: 4.465 MB / 0.698 GB, free: 76.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006231/1.525, allocations: 0.7335 MB / 0.6987 GB, free: 76.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03254/1.557, allocations: 16.99 MB / 0.7153 GB, free: 58.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01072/1.568, allocations: 6.048 MB / 0.7212 GB, free: 52.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.009727/1.578, allocations: 3.255 MB / 0.7244 GB, free: 49.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002325/1.58, allocations: 375.4 kB / 0.7248 GB, free: 49.27 MB / 446.1 MB Notification: Performance of SimCode: time 1.012e-06/1.58, allocations: 3.938 kB / 0.7248 GB, free: 49.27 MB / 446.1 MB Notification: Performance of Templates: time 0.3489/1.929, allocations: 68.12 MB / 0.7913 GB, free: 144.1 MB / 462.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)