Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.00115/0.00115, 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.001194/0.001194, 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.316/1.316, allocations: 205.1 MB / 222.4 MB, free: 4.559 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.001377/0.001377, allocations: 51.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2347, allocations: 46.63 MB / 325.3 MB, free: 1.855 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase): time 0.02963/0.2644, allocations: 27.88 MB / 353.2 MB, free: 7.941 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01685/0.2813, allocations: 7.731 MB / 360.9 MB, free: 188 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005826/0.2872, allocations: 171.2 kB / 361.1 MB, free: 16 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006712/0.2939, allocations: 1.902 MB / 363 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01122/0.3052, allocations: 2.644 MB / 365.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00607/0.3113, allocations: 1.7 MB / 367.3 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01736/0.3287, allocations: 12.52 MB / 379.9 MB, free: 13.15 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01567/0.3444, allocations: 10.96 MB / 390.8 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008772/0.3532, allocations: 5.877 MB / 396.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01126/0.3645, allocations: 6.706 MB / 403.4 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006019/0.3706, allocations: 1.672 MB / 405.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007501/0.3781, allocations: 1.883 MB / 407 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005994/0.3841, allocations: 3.799 MB / 410.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01247/0.3966, allocations: 6.913 MB / 417.7 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02462/0.4213, allocations: 21.52 MB / 439.2 MB, free: 1.578 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.4213, allocations: 7.938 kB / 439.2 MB, free: 1.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4213, allocations: 0 / 439.2 MB, free: 1.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006576/0.422, allocations: 4 kB / 439.2 MB, free: 1.566 MB / 366.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.04103/0.463, allocations: 13.19 MB / 452.4 MB, free: 4.258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.4631, allocations: 15.89 kB / 452.4 MB, free: 4.242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01361/0.4767, allocations: 2.314 MB / 454.7 MB, free: 1.914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3356/0.8124, allocations: 7.465 MB / 462.2 MB, free: 95.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009153/0.8134, allocations: 0.744 MB / 462.9 MB, free: 94.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00393/0.8173, allocations: 0.9886 MB / 463.9 MB, free: 94.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03124/0.8486, allocations: 14.42 MB / 478.3 MB, free: 86.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004411/0.849, allocations: 12.86 kB / 478.3 MB, free: 86.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002835/0.8519, allocations: 421.9 kB / 478.8 MB, free: 86.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000394/0.8523, allocations: 456.4 kB / 479.2 MB, free: 86.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02629/0.8786, allocations: 12.53 MB / 491.7 MB, free: 73.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08245/0.9611, allocations: 44.08 MB / 0.5233 GB, free: 29.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02103/0.9822, allocations: 25.07 MB / 0.5477 GB, free: 1.902 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008901/0.9911, allocations: 4.946 MB / 0.5526 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02622/1.017, allocations: 12.18 MB / 0.5645 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.492e-05/1.018, allocations: 89.77 kB / 0.5645 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of pre-optimization done (n=425): time 8.927e-06/1.018, allocations: 0 / 0.5645 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of matching and sorting (n=431): time 0.0588/1.076, allocations: 21.96 MB / 0.586 GB, free: 10.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.736e-05/1.077, allocations: 94.8 kB / 0.5861 GB, free: 10.19 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01278/1.089, allocations: 5.398 MB / 0.5914 GB, free: 4.812 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001013/1.09, allocations: 105.7 kB / 0.5915 GB, free: 4.703 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003993/1.094, allocations: 4.456 MB / 0.5958 GB, free: 228 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002978/1.097, allocations: 1.436 MB / 0.5972 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003725/1.101, allocations: 0.8873 MB / 0.5981 GB, free: 13.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/1.101, allocations: 305.1 kB / 0.5984 GB, free: 13.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004628/1.106, allocations: 2.422 MB / 0.6007 GB, free: 11.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00519/1.111, allocations: 3.695 MB / 0.6043 GB, free: 6.945 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009438/1.121, allocations: 6.339 MB / 0.6105 GB, free: 88 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-05/1.121, allocations: 8 kB / 0.6105 GB, free: 80 kB / 446.1 MB Notification: Performance of matching and sorting (n=634) (initialization): time 0.2174/1.338, allocations: 8.229 MB / 0.6186 GB, free: 144.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.906e-05/1.338, allocations: 28.38 kB / 0.6186 GB, free: 144.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.202e-05/1.338, allocations: 35.56 kB / 0.6186 GB, free: 144.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003168/1.341, allocations: 1.534 MB / 0.6201 GB, free: 143.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003886/1.345, allocations: 1.027 MB / 0.6211 GB, free: 143.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01967/1.365, allocations: 29.3 MB / 0.6497 GB, free: 119.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004655/1.37, allocations: 219.8 kB / 0.65 GB, free: 119.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007192/1.37, allocations: 199.1 kB / 0.6501 GB, free: 119.3 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 (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.005119/1.376, allocations: 3.304 MB / 0.6534 GB, free: 117.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001302/1.377, allocations: 0.572 MB / 0.6539 GB, free: 117.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01154/1.388, allocations: 7.972 MB / 0.6617 GB, free: 113.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.071e-05/1.388, allocations: 40 kB / 0.6618 GB, free: 113.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.197e-05/1.389, allocations: 31.33 kB / 0.6618 GB, free: 113 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.312e-05/1.389, allocations: 19.64 kB / 0.6618 GB, free: 113 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02863/1.417, allocations: 16.72 MB / 0.6781 GB, free: 96.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.33e-05/1.417, allocations: 4 kB / 0.6781 GB, free: 96.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002205/1.419, allocations: 467.7 kB / 0.6786 GB, free: 95.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005128/1.425, allocations: 2.362 MB / 0.6809 GB, free: 93.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004919/1.425, allocations: 95.97 kB / 0.681 GB, free: 93.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03264/1.458, allocations: 38.1 MB / 0.7182 GB, free: 53.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/1.458, allocations: 7.938 kB / 0.7182 GB, free: 53.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01825/1.476, allocations: 11.36 MB / 0.7293 GB, free: 42.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003407/1.48, allocations: 1.197 MB / 0.7305 GB, free: 41.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001932/1.481, allocations: 88 kB / 0.7306 GB, free: 41.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004137/1.486, allocations: 223.8 kB / 0.7308 GB, free: 40.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001467/1.487, allocations: 430.9 kB / 0.7312 GB, free: 40.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005682/1.488, allocations: 119.9 kB / 0.7313 GB, free: 40.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.007372/1.495, allocations: 3.682 MB / 0.7349 GB, free: 36.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.4e-07/1.495, allocations: 4 kB / 0.7349 GB, free: 36.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008831/1.504, allocations: 1.878 MB / 0.7367 GB, free: 34.77 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 (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,5,100.0%), (6,46,72.2%), (1,1,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (11,56,49.6%), (1,8,100.0%), (1,8,100.0%), (2,12,100.0%), (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.001109/1.505, allocations: 244.3 kB / 0.737 GB, free: 34.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02369/1.529, allocations: 12.26 MB / 0.7489 GB, free: 22.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/1.529, allocations: 4.375 kB / 0.7489 GB, free: 22.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008053/1.537, allocations: 5.732 MB / 0.7545 GB, free: 16.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01118/1.548, allocations: 1.689 MB / 0.7562 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03758/1.586, allocations: 18.73 MB / 0.7745 GB, free: 11.75 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0113/1.597, allocations: 6.378 MB / 0.7807 GB, free: 5.336 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006014/1.603, allocations: 1.295 MB / 0.782 GB, free: 4.035 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001465/1.605, allocations: 351.4 kB / 0.7823 GB, free: 3.691 MB / 462.1 MB Notification: Performance of SimCode: time 1.412e-06/1.605, allocations: 0 / 0.7823 GB, free: 3.691 MB / 462.1 MB Notification: Performance of Templates: time 0.4487/2.053, allocations: 99.37 MB / 0.8793 GB, free: 70.74 MB / 462.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe 2>&1)