Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=30000,variableFilter="time|aimc3.is.1.|aimc3.is.2.|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc3.stator.strayReluctance.port_p.Phi.im|aimc3.stator.strayReluctance.port_p.Phi.re|aimcM.is.1.|aimcM.is.2.|aimcM.is.3.|aimcM.is.4.|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.strayReluctance.port_p.Phi.im|aimcM.stator.strayReluctance.port_p.Phi.re|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc3.is.1.|aimc3.is.2.|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc3.stator.strayReluctance.port_p.Phi.im|aimc3.stator.strayReluctance.port_p.Phi.re|aimcM.is.1.|aimcM.is.2.|aimcM.is.3.|aimcM.is.4.|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.strayReluctance.port_p.Phi.im|aimcM.stator.strayReluctance.port_p.Phi.re|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_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.001578/0.001578, allocations: 107.2 kB / 18.4 MB, free: 4.676 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.001837/0.001837, allocations: 191.3 kB / 19.34 MB, free: 3.754 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.31/1.31, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.00126/0.001261, allocations: 51.92 kB / 329.2 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07485/0.07612, allocations: 46.61 MB / 375.8 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase): time 0.1724/0.2486, allocations: 23.71 MB / 399.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01295/0.2616, allocations: 6.499 MB / 406.1 MB, free: 9.516 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003882/0.2655, allocations: 136.5 kB / 406.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003967/0.2695, allocations: 1.59 MB / 407.8 MB, free: 8.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006564/0.2761, allocations: 2.211 MB / 410 MB, free: 7.137 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003333/0.2794, allocations: 1.422 MB / 411.4 MB, free: 6.215 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01098/0.2904, allocations: 9.872 MB / 421.3 MB, free: 224 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0113/0.3017, allocations: 7.981 MB / 429.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006613/0.3084, allocations: 4.67 MB / 433.9 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007774/0.3162, allocations: 5.266 MB / 439.2 MB, free: 100 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002788/0.319, allocations: 1.305 MB / 440.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00515/0.3241, allocations: 1.496 MB / 442 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003669/0.3278, allocations: 2.949 MB / 445 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008819/0.3366, allocations: 5.415 MB / 450.4 MB, free: 4.902 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.018/0.3547, allocations: 17.01 MB / 467.4 MB, free: 3.848 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3547, allocations: 0 / 467.4 MB, free: 3.848 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3547, allocations: 0 / 467.4 MB, free: 3.848 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004525/0.3552, allocations: 0 / 467.4 MB, free: 3.848 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: 2135 * Number of variables: 2135 Notification: Performance of Generate backend data structure: time 0.02993/0.3851, allocations: 10.57 MB / 477.9 MB, free: 9.176 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.3852, allocations: 12.03 kB / 478 MB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01187/0.3971, allocations: 2.031 MB / 480 MB, free: 7.121 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01056/0.4076, allocations: 5.577 MB / 485.6 MB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004808/0.4081, allocations: 0.5943 MB / 486.2 MB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001976/0.4101, allocations: 0.7892 MB / 486.9 MB, free: 88 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02007/0.4302, allocations: 11.32 MB / 498.3 MB, free: 4.648 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001623/0.4304, allocations: 11.97 kB / 498.3 MB, free: 4.637 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000777/0.4312, allocations: 328 kB / 498.6 MB, free: 4.316 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002963/0.4315, allocations: 384.3 kB / 499 MB, free: 3.938 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0188/0.4503, allocations: 9.874 MB / 0.4969 GB, free: 10.04 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06038/0.5107, allocations: 34.05 MB / 0.5302 GB, free: 7.266 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02029/0.531, allocations: 19.9 MB / 0.5496 GB, free: 1.332 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.307/0.8381, allocations: 3.653 MB / 0.5532 GB, free: 142.2 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01755/0.8557, allocations: 9.487 MB / 0.5624 GB, free: 138.4 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.77e-05/0.8558, allocations: 72.17 kB / 0.5625 GB, free: 138.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=321): time 6.573e-06/0.8558, allocations: 0 / 0.5625 GB, free: 138.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=327): time 0.03496/0.8907, allocations: 15.21 MB / 0.5774 GB, free: 131.7 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.8908, allocations: 84.3 kB / 0.5774 GB, free: 131.6 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005826/0.8966, allocations: 4.404 MB / 0.5817 GB, free: 130 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003567/0.897, allocations: 81.55 kB / 0.5818 GB, free: 129.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001737/0.8988, allocations: 3.552 MB / 0.5853 GB, free: 127.3 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005935/0.8994, allocations: 1.104 MB / 0.5864 GB, free: 126.4 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000878/0.9002, allocations: 0.6939 MB / 0.587 GB, free: 126.1 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.282e-05/0.9003, allocations: 301.1 kB / 0.5873 GB, free: 125.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00246/0.9027, allocations: 1.839 MB / 0.5891 GB, free: 125.1 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002732/0.9055, allocations: 2.926 MB / 0.592 GB, free: 123.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005315/0.9108, allocations: 4.999 MB / 0.5969 GB, free: 119.9 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.465e-05/0.9108, allocations: 11.31 kB / 0.5969 GB, free: 119.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.008343/0.9192, allocations: 6.114 MB / 0.6028 GB, free: 114.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.9192, allocations: 20 kB / 0.6029 GB, free: 114.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.188e-05/0.9193, allocations: 36.03 kB / 0.6029 GB, free: 114.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0018/0.9211, allocations: 0.8457 MB / 0.6037 GB, free: 113.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002884/0.924, allocations: 0.8268 MB / 0.6045 GB, free: 112.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01125/0.9352, allocations: 16.28 MB / 0.6204 GB, free: 95.48 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00325/0.9385, allocations: 179.8 kB / 0.6206 GB, free: 95.31 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002945/0.9388, allocations: 164 kB / 0.6208 GB, free: 95.15 MB / 478.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.003601/0.9424, allocations: 2.592 MB / 0.6233 GB, free: 92.55 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007349/0.9432, allocations: 458.4 kB / 0.6237 GB, free: 92.09 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00809/0.9513, allocations: 5.699 MB / 0.6293 GB, free: 86.28 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.59e-05/0.9513, allocations: 19.88 kB / 0.6293 GB, free: 86.26 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.9513, allocations: 0.5625 kB / 0.6293 GB, free: 86.26 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001669/0.953, allocations: 0.9445 MB / 0.6302 GB, free: 85.29 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005655/0.9536, allocations: 84.11 kB / 0.6303 GB, free: 85.21 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002105/0.9557, allocations: 163.9 kB / 0.6305 GB, free: 85.05 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007055/0.9564, allocations: 354 kB / 0.6308 GB, free: 84.7 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01023/0.9666, allocations: 5.761 MB / 0.6364 GB, free: 78.95 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008119/0.9748, allocations: 6.496 MB / 0.6428 GB, free: 72.39 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002221/0.977, allocations: 1.964 MB / 0.6447 GB, free: 70.41 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003824/0.9809, allocations: 3.021 MB / 0.6476 GB, free: 67.39 MB / 478.1 MB Notification: Performance of Backend: time 3.61e-07/0.9809, allocations: 3.391 kB / 0.6476 GB, free: 67.39 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007178/0.9881, allocations: 4.374 MB / 0.6519 GB, free: 62.91 MB / 478.1 MB Notification: Performance of SimCode: time 0.02043/1.009, allocations: 15.32 MB / 0.6669 GB, free: 47.57 MB / 478.1 MB Notification: Performance of Templates: time 0.2729/1.281, allocations: 78.61 MB / 0.7437 GB, free: 165.4 MB / 0.4982 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe 2>&1)