Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_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.000856/0.000856, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.0008834/0.0008834, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.4 MB / 222.1 MB, free: 5.879 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.0004205/0.0004205, allocations: 16 kB / 278.9 MB, free: 13.04 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2356, allocations: 47.57 MB / 326.5 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase): time 0.02506/0.2607, allocations: 24.56 MB / 351 MB, free: 10.91 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02108/0.2818, allocations: 7.304 MB / 358.3 MB, free: 3.586 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00797/0.2899, allocations: 159.2 kB / 358.5 MB, free: 3.43 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007057/0.2969, allocations: 1.374 MB / 359.9 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01027/0.3072, allocations: 2.214 MB / 362.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005031/0.3123, allocations: 1.119 MB / 363.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01821/0.3305, allocations: 12.51 MB / 375.7 MB, free: 2.129 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01413/0.3447, allocations: 7.279 MB / 383 MB, free: 10.79 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008182/0.3529, allocations: 4.008 MB / 387 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01042/0.3634, allocations: 5.194 MB / 392.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003377/0.3668, allocations: 0.668 MB / 392.9 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005345/0.3722, allocations: 0.8474 MB / 393.7 MB, free: 36 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004346/0.3765, allocations: 2.589 MB / 396.3 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004889/0.3814, allocations: 2.32 MB / 398.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02131/0.4028, allocations: 17.74 MB / 416.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.4028, allocations: 0 / 416.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4028, allocations: 4 kB / 416.4 MB, free: 9.316 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0008525/0.4037, allocations: 4 kB / 416.4 MB, free: 9.312 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: 2681 * Number of variables: 2681 Notification: Performance of Generate backend data structure: time 0.04843/0.4521, allocations: 11.19 MB / 427.6 MB, free: 14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.4522, allocations: 8.031 kB / 427.6 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02004/0.4723, allocations: 2.328 MB / 429.9 MB, free: 11.65 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02458/0.4969, allocations: 7.228 MB / 437.1 MB, free: 4.336 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001365/0.4983, allocations: 0.7426 MB / 437.9 MB, free: 3.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004066/0.5024, allocations: 0.9841 MB / 438.8 MB, free: 2.605 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04101/0.5434, allocations: 14.37 MB / 453.2 MB, free: 4.094 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000491/0.544, allocations: 4 kB / 453.2 MB, free: 4.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003985/0.548, allocations: 416 kB / 453.6 MB, free: 3.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005935/0.5486, allocations: 456.4 kB / 454.1 MB, free: 3.234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3952/0.9438, allocations: 12.5 MB / 466.6 MB, free: 92.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07112/1.015, allocations: 44.35 MB / 0.4989 GB, free: 54.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01832/1.033, allocations: 25.05 MB / 0.5234 GB, free: 27.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007175/1.041, allocations: 5 MB / 0.5283 GB, free: 22.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01894/1.06, allocations: 12.22 MB / 0.5402 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/1.06, allocations: 81.91 kB / 0.5403 GB, free: 10.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=425): time 6.963e-06/1.06, allocations: 3.984 kB / 0.5403 GB, free: 10.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=431): time 0.06211/1.122, allocations: 22.36 MB / 0.5621 GB, free: 3.324 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/1.122, allocations: 98.8 kB / 0.5622 GB, free: 3.215 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01413/1.136, allocations: 5.355 MB / 0.5675 GB, free: 13.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009227/1.137, allocations: 97.7 kB / 0.5676 GB, free: 13.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005147/1.142, allocations: 4.46 MB / 0.5719 GB, free: 9.293 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002652/1.145, allocations: 1.439 MB / 0.5733 GB, free: 7.867 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008604/1.146, allocations: 100 kB / 0.5734 GB, free: 7.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000499/1.146, allocations: 0.4968 MB / 0.5739 GB, free: 7.266 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006739/1.153, allocations: 2.434 MB / 0.5763 GB, free: 4.824 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007946/1.161, allocations: 3.695 MB / 0.5799 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008633/1.17, allocations: 2.995 MB / 0.5828 GB, free: 13.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.215e-05/1.17, allocations: 16 kB / 0.5828 GB, free: 13.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=634) (initialization): time 0.0217/1.191, allocations: 8.239 MB / 0.5909 GB, free: 5.227 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.112e-05/1.192, allocations: 20.62 kB / 0.5909 GB, free: 5.207 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.798e-05/1.192, allocations: 40.09 kB / 0.5909 GB, free: 5.168 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003705/1.195, allocations: 1.539 MB / 0.5924 GB, free: 3.582 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004365/1.2, allocations: 1.022 MB / 0.5934 GB, free: 2.559 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3035/1.503, allocations: 26.86 MB / 0.6197 GB, free: 134.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005053/1.508, allocations: 238 kB / 0.6199 GB, free: 134.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006798/1.509, allocations: 204.2 kB / 0.6201 GB, free: 134.4 MB / 446.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 (rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[5].y,rheostat3.booleanStep[1].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[3].y,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 initialization (546): * Single equations (assignments): 530 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 14 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 14 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(4,68.8%) 22,(2,100.0%) 6,(2,100.0%) 6,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007173/1.516, allocations: 3.303 MB / 0.6233 GB, free: 133.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001407/1.518, allocations: 0.5732 MB / 0.6239 GB, free: 133.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/1.529, allocations: 7.995 MB / 0.6317 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.983e-05/1.529, allocations: 39.41 kB / 0.6317 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.593e-05/1.53, allocations: 27.59 kB / 0.6317 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.653e-05/1.53, allocations: 22.33 kB / 0.6318 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02822/1.558, allocations: 16.75 MB / 0.6481 GB, free: 123.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/1.558, allocations: 3.75 kB / 0.6481 GB, free: 123.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001853/1.56, allocations: 470.6 kB / 0.6486 GB, free: 123.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004504/1.564, allocations: 2.331 MB / 0.6508 GB, free: 122.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002404/1.565, allocations: 97.31 kB / 0.6509 GB, free: 122.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03004/1.595, allocations: 34.87 MB / 0.685 GB, free: 86.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/1.595, allocations: 7.938 kB / 0.685 GB, free: 86.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01549/1.61, allocations: 11.39 MB / 0.6961 GB, free: 75.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003058/1.613, allocations: 1.202 MB / 0.6973 GB, free: 74.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001381/1.615, allocations: 88 kB / 0.6974 GB, free: 74.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002673/1.617, allocations: 251.8 kB / 0.6976 GB, free: 74.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009953/1.618, allocations: 439 kB / 0.698 GB, free: 73.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002513/1.619, allocations: 123 kB / 0.6982 GB, free: 73.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005103/1.624, allocations: 3.635 MB / 0.7017 GB, free: 69.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/1.624, allocations: 0 / 0.7017 GB, free: 69.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006685/1.63, allocations: 1.875 MB / 0.7035 GB, free: 68.07 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (aimsM.inertiaRotor.w,aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aims3.inertiaRotor.w,aims3.stator.core.Phi.re,aims3.stator.core.Phi.im,aims3.rotor.zeroInductor.i0,aims3.rotor.core.Phi.re,aims3.rotor.core.Phi.im,quadraticLoadTorqueM.phi,quadraticLoadTorque3.phi) * Number of discrete variables: 16 (rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[5].y,rheostat3.booleanStep[1].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[3].y,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 (245): * Single equations (assignments): 232 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 5,(6,72.2%) 46,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(11,49.6%) 56,(1,100.0%) 8,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006403/1.631, allocations: 240.8 kB / 0.7038 GB, free: 67.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009803/1.641, allocations: 8.025 MB / 0.7116 GB, free: 59.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/1.641, allocations: 4 kB / 0.7116 GB, free: 59.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007128/1.648, allocations: 5.75 MB / 0.7172 GB, free: 53.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008156/1.656, allocations: 1.647 MB / 0.7188 GB, free: 52.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03454/1.691, allocations: 22.1 MB / 0.7404 GB, free: 29.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006935/1.698, allocations: 6.368 MB / 0.7466 GB, free: 23.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004892/1.703, allocations: 1.299 MB / 0.7479 GB, free: 22.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008692/1.704, allocations: 343.4 kB / 0.7482 GB, free: 21.82 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/1.704, allocations: 0 / 0.7482 GB, free: 21.82 MB / 446.1 MB Notification: Performance of Templates: time 0.3815/2.085, allocations: 91.93 MB / 0.838 GB, free: 105.2 MB / 462.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe 2>&1)