Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009714/0.0009712, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001243/0.001243, allocations: 177.3 kB / 15.95 MB, free: 216 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.46/1.46, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0004237/0.0004237, allocations: 8 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2274, allocations: 47.59 MB / 326.5 MB, free: 1.617 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL): time 0.01729/0.2447, allocations: 15.61 MB / 342.1 MB, free: 4.016 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01225/0.257, allocations: 5.523 MB / 347.6 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003641/0.2607, allocations: 99.56 kB / 347.7 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003979/0.2647, allocations: 0.9947 MB / 348.7 MB, free: 13.38 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006928/0.2717, allocations: 1.636 MB / 350.3 MB, free: 11.74 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003185/0.2749, allocations: 0.7798 MB / 351.1 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00861/0.2835, allocations: 4.266 MB / 355.4 MB, free: 6.684 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006873/0.2904, allocations: 3.531 MB / 358.9 MB, free: 3.094 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004132/0.2946, allocations: 1.989 MB / 360.9 MB, free: 1.098 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004795/0.2994, allocations: 2.428 MB / 363.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001533/0.301, allocations: 332 kB / 363.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00262/0.3036, allocations: 0.5387 MB / 364.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002239/0.3059, allocations: 1.34 MB / 365.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002389/0.3083, allocations: 1.167 MB / 366.7 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009842/0.3181, allocations: 8.57 MB / 375.2 MB, free: 2.684 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3182, allocations: 0 / 375.2 MB, free: 2.684 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3182, allocations: 0 / 375.2 MB, free: 2.684 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0004584/0.3186, allocations: 0 / 375.2 MB, free: 2.684 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.0171/0.3358, allocations: 5.658 MB / 380.9 MB, free: 12.95 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.3358, allocations: 12.03 kB / 380.9 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007031/0.3429, allocations: 1.078 MB / 382 MB, free: 11.85 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008761/0.3516, allocations: 3.332 MB / 385.3 MB, free: 8.441 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004524/0.3521, allocations: 386.3 kB / 385.7 MB, free: 8.062 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001657/0.3538, allocations: 0.5038 MB / 386.2 MB, free: 7.559 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02085/0.3747, allocations: 6.887 MB / 393.1 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002986/0.375, allocations: 11.91 kB / 393.1 MB, free: 0.582 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00155/0.3766, allocations: 204 kB / 393.3 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002934/0.3769, allocations: 246.1 kB / 393.5 MB, free: 144 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01421/0.3911, allocations: 5.888 MB / 399.4 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04632/0.4375, allocations: 21.42 MB / 420.9 MB, free: 4.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009844/0.4474, allocations: 8.68 MB / 429.5 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01265/0.4601, allocations: 5.121 MB / 434.7 MB, free: 5.488 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.557e-05/0.4602, allocations: 56.56 kB / 434.7 MB, free: 5.426 MB / 366.1 MB Notification: Performance of pre-optimization done (n=227): time 4.659e-06/0.4602, allocations: 0 / 434.7 MB, free: 5.426 MB / 366.1 MB Notification: Performance of matching and sorting (n=246): time 0.02704/0.4873, allocations: 11.65 MB / 446.4 MB, free: 9.527 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.4874, allocations: 81.41 kB / 446.4 MB, free: 9.434 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005667/0.4931, allocations: 2.907 MB / 449.3 MB, free: 6.516 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003803/0.4935, allocations: 65.7 kB / 449.4 MB, free: 6.445 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001828/0.4953, allocations: 2.292 MB / 451.7 MB, free: 4.125 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009785/0.4963, allocations: 0.8356 MB / 452.5 MB, free: 3.277 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002805/0.4966, allocations: 56 kB / 452.6 MB, free: 3.223 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002646/0.4969, allocations: 424 kB / 453 MB, free: 2.801 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002553/0.4994, allocations: 1.384 MB / 454.4 MB, free: 1.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1697/0.6692, allocations: 2.134 MB / 456.5 MB, free: 104.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003586/0.6728, allocations: 1.731 MB / 458.3 MB, free: 104.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.26e-05/0.6728, allocations: 7.031 kB / 458.3 MB, free: 104.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.007716/0.6806, allocations: 4.704 MB / 463 MB, free: 102.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.378e-05/0.6806, allocations: 15.75 kB / 463 MB, free: 102.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.939e-05/0.6807, allocations: 23.66 kB / 463 MB, free: 102.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001509/0.6822, allocations: 0.7575 MB / 463.8 MB, free: 102.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002192/0.6844, allocations: 0.645 MB / 464.4 MB, free: 102.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009623/0.694, allocations: 13.54 MB / 477.9 MB, free: 90.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002661/0.6967, allocations: 164.3 kB / 478.1 MB, free: 90.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002589/0.697, allocations: 121.5 kB / 478.2 MB, free: 90.89 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (330): * Single equations (assignments): 320 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(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: 7 {(1,100.0%) 1,(2,100.0%) 12,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002787/0.6998, allocations: 1.605 MB / 479.8 MB, free: 90.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006098/0.7004, allocations: 324.6 kB / 480.1 MB, free: 90.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005884/0.7063, allocations: 4.284 MB / 484.4 MB, free: 88.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.7063, allocations: 26.14 kB / 484.5 MB, free: 88.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/0.7063, allocations: 11.75 kB / 484.5 MB, free: 88.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.947e-05/0.7064, allocations: 14.06 kB / 484.5 MB, free: 88.17 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01256/0.7189, allocations: 9.198 MB / 493.7 MB, free: 79.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.719, allocations: 4 kB / 493.7 MB, free: 79.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/0.7205, allocations: 396 kB / 494.1 MB, free: 79.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002059/0.7226, allocations: 0.9207 MB / 495 MB, free: 78.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001555/0.7228, allocations: 78.66 kB / 495.1 MB, free: 78.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01234/0.7351, allocations: 16.71 MB / 0.4998 GB, free: 60.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.7352, allocations: 14.47 kB / 0.4998 GB, free: 60.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008209/0.7434, allocations: 6.526 MB / 0.5062 GB, free: 53.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001822/0.7452, allocations: 0.7155 MB / 0.5069 GB, free: 52.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004504/0.7457, allocations: 56 kB / 0.5069 GB, free: 52.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/0.7471, allocations: 143.9 kB / 0.5071 GB, free: 52.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004316/0.7476, allocations: 198.7 kB / 0.5072 GB, free: 52.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/0.7477, allocations: 71.97 kB / 0.5073 GB, free: 52.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002565/0.7503, allocations: 1.975 MB / 0.5092 GB, free: 50.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7503, allocations: 0 / 0.5092 GB, free: 50.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003389/0.7537, allocations: 0.9792 MB / 0.5102 GB, free: 49.56 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.zeroInductor.i0,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (187): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004879/0.7542, allocations: 211 kB / 0.5104 GB, free: 49.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005914/0.7601, allocations: 4.65 MB / 0.5149 GB, free: 44.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.7601, allocations: 0.9375 kB / 0.5149 GB, free: 44.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003766/0.7639, allocations: 3.106 MB / 0.518 GB, free: 41.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003753/0.7677, allocations: 0.829 MB / 0.5188 GB, free: 40.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01547/0.7832, allocations: 11.89 MB / 0.5304 GB, free: 28.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00266/0.7859, allocations: 3.521 MB / 0.5338 GB, free: 24.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002593/0.7885, allocations: 0.7776 MB / 0.5346 GB, free: 24.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005114/0.789, allocations: 211.4 kB / 0.5348 GB, free: 24 MB / 382.1 MB Notification: Performance of SimCode: time 1.232e-06/0.789, allocations: 0 / 0.5348 GB, free: 24 MB / 382.1 MB Notification: Performance of Templates: time 0.07684/0.8659, allocations: 47.04 MB / 0.5807 GB, free: 8.887 MB / 414.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe 2>&1) Environment - environmentSimulation: