Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.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.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 108 kB / 15.6 MB, free: 132 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.00181/0.001811, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.311/1.311, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.001251/0.001251, allocations: 51.92 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2164, allocations: 46.64 MB / 325.3 MB, free: 1.973 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase): time 0.02467/0.2411, allocations: 23.71 MB / 349 MB, free: 12.24 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01464/0.2558, allocations: 6.488 MB / 355.5 MB, free: 5.73 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005094/0.261, allocations: 139.4 kB / 355.7 MB, free: 5.594 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005616/0.2666, allocations: 1.591 MB / 357.2 MB, free: 3.992 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009459/0.2761, allocations: 2.197 MB / 359.4 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004624/0.2807, allocations: 1.435 MB / 360.9 MB, free: 352 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01294/0.2937, allocations: 9.819 MB / 370.7 MB, free: 6.484 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01253/0.3062, allocations: 7.984 MB / 378.7 MB, free: 14.39 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007146/0.3134, allocations: 4.623 MB / 383.3 MB, free: 9.758 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008708/0.3222, allocations: 5.251 MB / 388.6 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004173/0.3264, allocations: 1.301 MB / 389.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005298/0.3317, allocations: 1.515 MB / 391.4 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005318/0.337, allocations: 2.949 MB / 394.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00982/0.3469, allocations: 5.411 MB / 399.7 MB, free: 9.281 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02026/0.3672, allocations: 16.88 MB / 416.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.3672, allocations: 0 / 416.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3673, allocations: 0 / 416.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0007602/0.368, allocations: 0 / 416.6 MB, free: 8.352 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: 2135 * Number of variables: 2135 Notification: Performance of Generate backend data structure: time 0.03568/0.4037, allocations: 10.56 MB / 427.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.4038, allocations: 15.89 kB / 427.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01303/0.4168, allocations: 2.043 MB / 429.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0133/0.4302, allocations: 5.519 MB / 434.7 MB, free: 6.023 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006318/0.4308, allocations: 0.5943 MB / 435.3 MB, free: 5.426 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002801/0.4337, allocations: 0.789 MB / 436.1 MB, free: 4.637 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02559/0.4593, allocations: 11.32 MB / 447.5 MB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001768/0.4595, allocations: 11.91 kB / 447.5 MB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009906/0.4605, allocations: 332 kB / 447.8 MB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000327/0.4608, allocations: 372.3 kB / 448.2 MB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3275/0.7883, allocations: 9.883 MB / 458 MB, free: 99.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05848/0.8469, allocations: 34.49 MB / 492.5 MB, free: 76.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01486/0.8618, allocations: 19.89 MB / 0.5004 GB, free: 55.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005197/0.867, allocations: 3.73 MB / 0.5041 GB, free: 51.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0138/0.8808, allocations: 9.519 MB / 0.5133 GB, free: 41.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/0.8809, allocations: 69.09 kB / 0.5134 GB, free: 41.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=321): time 5.521e-06/0.8809, allocations: 0 / 0.5134 GB, free: 41.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=327): time 0.03394/0.9149, allocations: 15.2 MB / 0.5283 GB, free: 26.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.915, allocations: 89.92 kB / 0.5283 GB, free: 26.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008463/0.9235, allocations: 4.401 MB / 0.5326 GB, free: 21.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005331/0.924, allocations: 85.7 kB / 0.5327 GB, free: 21.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002108/0.9261, allocations: 3.545 MB / 0.5362 GB, free: 18.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001055/0.9272, allocations: 1.104 MB / 0.5373 GB, free: 17.08 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001634/0.9289, allocations: 0.6927 MB / 0.5379 GB, free: 16.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.69e-05/0.9289, allocations: 309.1 kB / 0.5382 GB, free: 16.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002767/0.9317, allocations: 1.842 MB / 0.54 GB, free: 14.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003357/0.9351, allocations: 2.934 MB / 0.5429 GB, free: 10.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006229/0.9413, allocations: 4.997 MB / 0.5478 GB, free: 5.371 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.052e-05/0.9414, allocations: 12 kB / 0.5478 GB, free: 5.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.01035/0.9517, allocations: 6.108 MB / 0.5538 GB, free: 15.17 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.584e-05/0.9518, allocations: 20 kB / 0.5538 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.676e-05/0.9519, allocations: 35.94 kB / 0.5538 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002267/0.9542, allocations: 0.8519 MB / 0.5546 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003355/0.9575, allocations: 0.8307 MB / 0.5554 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01614/0.9737, allocations: 16.28 MB / 0.5713 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004139/0.9779, allocations: 171.8 kB / 0.5715 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000797/0.9787, allocations: 164 kB / 0.5717 GB, free: 11.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 148 * Number of states: 0 () * Number of discrete variables: 8 (idealCloser3.control[3],idealCloser3.control[2],idealCloser3.control[1],idealCloserM.control[5],idealCloserM.control[4],idealCloserM.control[3],idealCloserM.control[2],idealCloserM.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (439): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,5,100.0%), (1,1,100.0%), (3,23,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%), (4,22,56.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005717/0.9844, allocations: 2.589 MB / 0.5742 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001767/0.9862, allocations: 458.5 kB / 0.5746 GB, free: 8.762 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01269/0.9989, allocations: 5.7 MB / 0.5802 GB, free: 2.949 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.691e-05/0.999, allocations: 32 kB / 0.5802 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.863e-05/0.999, allocations: 20.12 kB / 0.5802 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.026e-05/0.9991, allocations: 15.94 kB / 0.5803 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02532/1.024, allocations: 12.71 MB / 0.5927 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/1.024, allocations: 0 / 0.5927 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001848/1.026, allocations: 379.4 kB / 0.593 GB, free: 5.641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004065/1.03, allocations: 1.461 MB / 0.5945 GB, free: 4.156 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003519/1.031, allocations: 95.89 kB / 0.5946 GB, free: 4.062 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2425/1.273, allocations: 26.45 MB / 0.6204 GB, free: 144.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.273, allocations: 3 kB / 0.6204 GB, free: 144.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01235/1.286, allocations: 8.163 MB / 0.6284 GB, free: 142.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002112/1.288, allocations: 0.9625 MB / 0.6293 GB, free: 141.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007436/1.289, allocations: 77.42 kB / 0.6294 GB, free: 141.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001971/1.291, allocations: 172 kB / 0.6295 GB, free: 141.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007321/1.291, allocations: 318 kB / 0.6298 GB, free: 141.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000172/1.292, allocations: 90.72 kB / 0.6299 GB, free: 141.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003893/1.295, allocations: 3.021 MB / 0.6329 GB, free: 140.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.423e-06/1.295, allocations: 0 / 0.6329 GB, free: 140.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004446/1.3, allocations: 1.447 MB / 0.6343 GB, free: 140.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorqueM.phi,aimc3.inertiaRotor.w,aimc3.stator.core.Phi.re,aimc3.stator.core.Phi.im,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque3.phi) * Number of discrete variables: 8 (idealCloserM.control[1],idealCloserM.control[2],idealCloserM.control[3],idealCloserM.control[4],idealCloserM.control[5],idealCloser3.control[1],idealCloser3.control[2],idealCloser3.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (197): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,1,100.0%), (1,13,100.0%), (1,5,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (3,23,100.0%), (6,46,72.2%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004878/1.3, allocations: 213.1 kB / 0.6345 GB, free: 140.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01502/1.315, allocations: 8.044 MB / 0.6424 GB, free: 136.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/1.315, allocations: 4 kB / 0.6424 GB, free: 136.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005308/1.321, allocations: 4.111 MB / 0.6464 GB, free: 132.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006167/1.327, allocations: 1.241 MB / 0.6476 GB, free: 131.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02073/1.348, allocations: 14.65 MB / 0.6619 GB, free: 118.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003881/1.352, allocations: 5.096 MB / 0.6669 GB, free: 113.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003356/1.355, allocations: 1.015 MB / 0.6679 GB, free: 112.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006777/1.356, allocations: 283.4 kB / 0.6681 GB, free: 112.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.152e-06/1.356, allocations: 0 / 0.6681 GB, free: 112.6 MB / 446.1 MB Notification: Performance of Templates: time 0.1037/1.46, allocations: 73.98 MB / 0.7404 GB, free: 38.57 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe 2>&1)