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.001179/0.001179, 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.001596/0.001596, allocations: 193.2 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.361/1.361, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.001266/0.001266, allocations: 51.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1927, allocations: 46.64 MB / 325.3 MB, free: 1.98 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase): time 0.0268/0.2195, allocations: 27.89 MB / 353.2 MB, free: 8.047 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01528/0.2348, allocations: 7.735 MB / 360.9 MB, free: 292 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004723/0.2396, allocations: 167.2 kB / 361.1 MB, free: 124 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00498/0.2446, allocations: 1.906 MB / 363 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008209/0.2529, allocations: 2.632 MB / 365.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00437/0.2572, allocations: 1.72 MB / 367.4 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01437/0.2716, allocations: 12.5 MB / 379.9 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01298/0.2846, allocations: 10.97 MB / 390.8 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008234/0.2929, allocations: 5.881 MB / 396.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01025/0.3032, allocations: 6.706 MB / 403.4 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003203/0.3064, allocations: 1.676 MB / 405.1 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004095/0.3105, allocations: 1.871 MB / 407 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003139/0.3137, allocations: 3.806 MB / 410.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009119/0.3228, allocations: 6.909 MB / 417.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02168/0.3445, allocations: 21.52 MB / 439.2 MB, free: 1.688 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.3446, allocations: 4 kB / 439.2 MB, free: 1.684 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3446, allocations: 0 / 439.2 MB, free: 1.684 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005918/0.3452, allocations: 0 / 439.2 MB, free: 1.684 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.03453/0.3797, allocations: 13.19 MB / 452.4 MB, free: 4.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.3798, allocations: 11.89 kB / 452.4 MB, free: 4.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0115/0.3913, allocations: 2.318 MB / 454.7 MB, free: 2.027 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2957/0.687, allocations: 7.475 MB / 462.2 MB, free: 94.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007358/0.6878, allocations: 0.7482 MB / 462.9 MB, free: 94.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003796/0.6916, allocations: 0.9856 MB / 463.9 MB, free: 94.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02791/0.7195, allocations: 14.42 MB / 478.3 MB, free: 86.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000223/0.7198, allocations: 13.62 kB / 478.4 MB, free: 86.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001521/0.7213, allocations: 418.5 kB / 478.8 MB, free: 86.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000311/0.7216, allocations: 455.7 kB / 479.2 MB, free: 86.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02547/0.7471, allocations: 12.53 MB / 491.7 MB, free: 73.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07302/0.8202, allocations: 44.08 MB / 0.5233 GB, free: 29.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01878/0.839, allocations: 25.06 MB / 0.5477 GB, free: 1.996 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007841/0.8469, allocations: 4.946 MB / 0.5526 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0258/0.8727, allocations: 12.18 MB / 0.5645 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.702e-05/0.8728, allocations: 97.69 kB / 0.5646 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of pre-optimization done (n=425): time 7.795e-06/0.8728, allocations: 0 / 0.5646 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of matching and sorting (n=431): time 0.05408/0.9269, allocations: 21.94 MB / 0.586 GB, free: 10.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.307e-05/0.927, allocations: 98.8 kB / 0.5861 GB, free: 10.28 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0105/0.9376, allocations: 5.398 MB / 0.5913 GB, free: 4.898 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000744/0.9383, allocations: 105.7 kB / 0.5914 GB, free: 4.789 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00313/0.9415, allocations: 4.459 MB / 0.5958 GB, free: 312 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001705/0.9432, allocations: 1.432 MB / 0.5972 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001378/0.9446, allocations: 0.8873 MB / 0.5981 GB, free: 13.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.9447, allocations: 301.1 kB / 0.5984 GB, free: 13.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003911/0.9486, allocations: 2.426 MB / 0.6007 GB, free: 11.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004543/0.9532, allocations: 3.695 MB / 0.6043 GB, free: 7.031 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008914/0.9621, allocations: 6.339 MB / 0.6105 GB, free: 176 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.164e-05/0.9622, allocations: 12 kB / 0.6105 GB, free: 164 kB / 446.1 MB Notification: Performance of matching and sorting (n=634) (initialization): time 0.1967/1.159, allocations: 8.225 MB / 0.6186 GB, free: 144.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/1.159, allocations: 28.31 kB / 0.6186 GB, free: 144.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.008e-05/1.159, allocations: 35.56 kB / 0.6186 GB, free: 144.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003257/1.162, allocations: 1.537 MB / 0.6201 GB, free: 143.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004042/1.166, allocations: 1.021 MB / 0.6211 GB, free: 143.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02056/1.187, allocations: 29.3 MB / 0.6497 GB, free: 119.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004782/1.192, allocations: 224.9 kB / 0.65 GB, free: 119.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008928/1.193, allocations: 198.1 kB / 0.6501 GB, free: 119.1 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.006045/1.199, allocations: 3.3 MB / 0.6534 GB, free: 117.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001585/1.2, allocations: 0.571 MB / 0.6539 GB, free: 117.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01234/1.213, allocations: 7.975 MB / 0.6617 GB, free: 113.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.723e-05/1.213, allocations: 40 kB / 0.6618 GB, free: 113.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.316e-05/1.213, allocations: 31.61 kB / 0.6618 GB, free: 113.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.17e-05/1.213, allocations: 23.16 kB / 0.6618 GB, free: 113.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02519/1.238, allocations: 16.72 MB / 0.6781 GB, free: 96.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.51e-05/1.238, allocations: 7.938 kB / 0.6781 GB, free: 96.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002023/1.24, allocations: 467.7 kB / 0.6786 GB, free: 95.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004819/1.245, allocations: 2.361 MB / 0.6809 GB, free: 93.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003843/1.245, allocations: 95.97 kB / 0.681 GB, free: 93.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03169/1.277, allocations: 38.09 MB / 0.7182 GB, free: 53.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.277, allocations: 8.312 kB / 0.7182 GB, free: 53.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01625/1.293, allocations: 11.36 MB / 0.7293 GB, free: 42.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003672/1.297, allocations: 1.201 MB / 0.7305 GB, free: 41.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001917/1.299, allocations: 88 kB / 0.7305 GB, free: 41.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003097/1.302, allocations: 223.8 kB / 0.7308 GB, free: 40.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000982/1.303, allocations: 430.9 kB / 0.7312 GB, free: 40.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002352/1.303, allocations: 119.9 kB / 0.7313 GB, free: 40.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005059/1.309, allocations: 3.682 MB / 0.7349 GB, free: 36.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.21e-07/1.309, allocations: 0 / 0.7349 GB, free: 36.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006429/1.315, allocations: 1.878 MB / 0.7367 GB, free: 34.86 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.0007883/1.316, allocations: 256.2 kB / 0.737 GB, free: 34.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02307/1.339, allocations: 12.27 MB / 0.7489 GB, free: 22.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/1.339, allocations: 0 / 0.7489 GB, free: 22.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008189/1.347, allocations: 5.729 MB / 0.7545 GB, free: 16.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00844/1.356, allocations: 1.694 MB / 0.7562 GB, free: 14.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03156/1.387, allocations: 18.71 MB / 0.7745 GB, free: 11.84 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008238/1.396, allocations: 6.382 MB / 0.7807 GB, free: 5.418 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004837/1.4, allocations: 1.295 MB / 0.782 GB, free: 4.117 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009854/1.401, allocations: 347.4 kB / 0.7823 GB, free: 3.777 MB / 462.1 MB Notification: Performance of SimCode: time 6.81e-07/1.401, allocations: 0 / 0.7823 GB, free: 3.777 MB / 462.1 MB Notification: Performance of Templates: time 0.3047/1.706, allocations: 99.38 MB / 0.8793 GB, free: 70.87 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)