Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_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.AIMS_Start_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc3.is.1.|aimc3.is.2.|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aims3.rotor.zeroInductor.i0|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.is.1.|aimcM.is.2.|aimcM.is.3.|aimcM.is.4.|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.rotor.zeroInductor.i0|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc3.is.1.|aimc3.is.2.|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aims3.rotor.zeroInductor.i0|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.is.1.|aimcM.is.2.|aimcM.is.3.|aimcM.is.4.|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.rotor.zeroInductor.i0|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 110.7 kB / 18.4 MB, free: 4.652 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.0009975/0.0009975, allocations: 190 kB / 19.34 MB, free: 3.73 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.25/1.25, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001184/0.001184, allocations: 55.91 kB / 329.2 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07205/0.07324, allocations: 46.62 MB / 375.9 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase): time 0.1716/0.2448, allocations: 27.88 MB / 403.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01543/0.2603, allocations: 7.732 MB / 411.5 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004522/0.2648, allocations: 169.9 kB / 411.6 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004763/0.2697, allocations: 1.91 MB / 413.6 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007949/0.2776, allocations: 2.643 MB / 416.2 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004334/0.282, allocations: 1.709 MB / 417.9 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01483/0.2968, allocations: 12.57 MB / 430.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01422/0.3111, allocations: 10.97 MB / 441.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008354/0.3194, allocations: 5.924 MB / 447.4 MB, free: 7.918 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009891/0.3293, allocations: 6.722 MB / 454.1 MB, free: 1.172 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003872/0.3332, allocations: 1.668 MB / 455.8 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005602/0.3389, allocations: 1.879 MB / 457.6 MB, free: 13.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004801/0.3437, allocations: 3.795 MB / 461.4 MB, free: 9.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01202/0.3557, allocations: 6.913 MB / 468.3 MB, free: 2.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02327/0.379, allocations: 21.68 MB / 490 MB, free: 13.14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3791, allocations: 0 / 490 MB, free: 13.14 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.237e-06/0.3791, allocations: 0 / 490 MB, free: 13.14 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000501/0.3796, allocations: 3.938 kB / 490 MB, free: 13.13 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2681 * Number of variables: 2681 Notification: Performance of Generate backend data structure: time 0.03513/0.4147, allocations: 13.19 MB / 0.4914 GB, free: 15.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.4148, allocations: 8.031 kB / 0.4914 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01287/0.4277, allocations: 2.314 MB / 0.4937 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01537/0.443, allocations: 7.541 MB / 0.5011 GB, free: 5.855 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006975/0.4438, allocations: 0.7429 MB / 0.5018 GB, free: 5.109 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002768/0.4465, allocations: 0.9922 MB / 0.5027 GB, free: 4.117 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02868/0.4752, allocations: 14.42 MB / 0.5168 GB, free: 5.551 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002799/0.4755, allocations: 7.938 kB / 0.5168 GB, free: 5.543 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001751/0.4773, allocations: 416 kB / 0.5172 GB, free: 5.137 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003644/0.4777, allocations: 452.4 kB / 0.5177 GB, free: 4.691 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02305/0.5007, allocations: 12.53 MB / 0.5299 GB, free: 8.141 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.238/0.7387, allocations: 43.48 MB / 0.5724 GB, free: 119.3 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01971/0.7585, allocations: 25.09 MB / 0.5969 GB, free: 98.7 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00699/0.7655, allocations: 4.89 MB / 0.6016 GB, free: 96.86 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01702/0.7825, allocations: 12.14 MB / 0.6135 GB, free: 91.32 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.761e-05/0.7826, allocations: 80.41 kB / 0.6136 GB, free: 91.25 MB / 478.1 MB Notification: Performance of pre-optimization done (n=425): time 1.105e-05/0.7826, allocations: 3.625 kB / 0.6136 GB, free: 91.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=431): time 0.0431/0.8258, allocations: 21.96 MB / 0.635 GB, free: 77.68 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.8258, allocations: 94.8 kB / 0.6351 GB, free: 77.57 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005977/0.8318, allocations: 5.398 MB / 0.6404 GB, free: 72.19 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003642/0.8322, allocations: 99.2 kB / 0.6405 GB, free: 72.09 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001787/0.834, allocations: 4.46 MB / 0.6448 GB, free: 67.61 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007445/0.8347, allocations: 1.438 MB / 0.6462 GB, free: 66.18 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001122/0.8359, allocations: 0.8834 MB / 0.6471 GB, free: 65.29 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.144e-05/0.8359, allocations: 305.1 kB / 0.6474 GB, free: 64.98 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003201/0.8391, allocations: 2.426 MB / 0.6498 GB, free: 62.55 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003505/0.8426, allocations: 3.692 MB / 0.6534 GB, free: 58.34 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006671/0.8493, allocations: 6.339 MB / 0.6596 GB, free: 51.48 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.01e-05/0.8493, allocations: 12 kB / 0.6596 GB, free: 51.46 MB / 478.1 MB Notification: Performance of matching and sorting (n=634) (initialization): time 0.01096/0.8603, allocations: 8.231 MB / 0.6676 GB, free: 43.11 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.29e-05/0.8604, allocations: 27.34 kB / 0.6676 GB, free: 43.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-05/0.8604, allocations: 36 kB / 0.6677 GB, free: 43.05 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003063/0.8635, allocations: 1.534 MB / 0.6692 GB, free: 41.47 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003649/0.8671, allocations: 1.022 MB / 0.6702 GB, free: 40.45 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01879/0.8859, allocations: 29.29 MB / 0.6988 GB, free: 9.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003938/0.8899, allocations: 227.7 kB / 0.699 GB, free: 9.008 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003618/0.8903, allocations: 196 kB / 0.6992 GB, free: 8.816 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 166 * Number of states: 0 () * Number of discrete variables: 16 (idealCloser3.control[3],idealCloser3.control[2],idealCloser3.control[1],idealCloserM.control[5],idealCloserM.control[4],idealCloserM.control[3],idealCloserM.control[2],idealCloserM.control[1],rheostat3.booleanStep[3].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[1].y,rheostatM.booleanStep[5].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (546): * Single equations (assignments): 530 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 14 * 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): 14 systems {(1,1,100.0%), (1,5,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,1,100.0%), (4,22,68.8%), (2,6,100.0%), (2,6,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004266/0.8946, allocations: 3.297 MB / 0.7024 GB, free: 5.504 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008382/0.8954, allocations: 0.5751 MB / 0.703 GB, free: 4.922 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01162/0.907, allocations: 7.965 MB / 0.7107 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.15e-05/0.9071, allocations: 23.92 kB / 0.7108 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.924e-06/0.9071, allocations: 3.938 kB / 0.7108 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002638/0.9098, allocations: 1.197 MB / 0.7119 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007955/0.9106, allocations: 83.94 kB / 0.712 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002469/0.913, allocations: 219.8 kB / 0.7122 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008611/0.9139, allocations: 478.5 kB / 0.7127 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01536/0.9293, allocations: 7.791 MB / 0.7203 GB, free: 3.059 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01231/0.9416, allocations: 8.507 MB / 0.7286 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003679/0.9453, allocations: 2.607 MB / 0.7311 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006653/0.952, allocations: 3.686 MB / 0.7347 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of Backend: time 5.21e-07/0.952, allocations: 0 / 0.7347 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01238/0.9644, allocations: 6.134 MB / 0.7407 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of SimCode: time 0.1933/1.158, allocations: 19.78 MB / 0.76 GB, free: 180 MB / 0.5137 GB Notification: Performance of Templates: time 0.1439/1.302, allocations: 101.5 MB / 0.8592 GB, free: 106.1 MB / 0.5137 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe 2>&1)