Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.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_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 99.86 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.0009638/0.0009638, allocations: 177.3 kB / 15.94 MB, free: 228 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.5/1.5, allocations: 205.4 MB / 222.1 MB, free: 5.5 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.0004201/0.0004202, allocations: 12 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2163, allocations: 47.57 MB / 326.4 MB, free: 1.293 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.01147/0.2278, allocations: 10.92 MB / 337.4 MB, free: 8.445 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008337/0.2362, allocations: 4.245 MB / 341.6 MB, free: 4.191 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002017/0.2382, allocations: 67.69 kB / 341.7 MB, free: 4.125 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002363/0.2406, allocations: 0.7617 MB / 342.4 MB, free: 3.359 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003448/0.2441, allocations: 1.153 MB / 343.6 MB, free: 2.203 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.2458, allocations: 0.6391 MB / 344.2 MB, free: 1.562 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004349/0.2501, allocations: 2.812 MB / 347 MB, free: 14.74 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002649/0.2528, allocations: 2.182 MB / 349.2 MB, free: 12.52 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001835/0.2547, allocations: 1.261 MB / 350.5 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002122/0.2568, allocations: 1.474 MB / 352 MB, free: 9.773 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004812/0.2573, allocations: 204 kB / 352.2 MB, free: 9.574 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.2584, allocations: 383.7 kB / 352.5 MB, free: 9.199 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006853/0.2591, allocations: 0.7163 MB / 353.3 MB, free: 8.48 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007913/0.2599, allocations: 0.7382 MB / 354 MB, free: 7.734 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004981/0.2649, allocations: 5.426 MB / 359.4 MB, free: 2.293 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2649, allocations: 3.938 kB / 359.4 MB, free: 2.289 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2649, allocations: 0 / 359.4 MB, free: 2.289 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001508/0.2651, allocations: 0 / 359.4 MB, free: 2.289 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.009629/0.2747, allocations: 3.732 MB / 363.2 MB, free: 14.49 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.2747, allocations: 8.031 kB / 363.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004697/0.2794, allocations: 0.8232 MB / 364 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004685/0.2842, allocations: 2.17 MB / 366.2 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002704/0.2845, allocations: 250.4 kB / 366.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001114/0.2856, allocations: 323.9 kB / 366.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008881/0.2945, allocations: 4.212 MB / 370.9 MB, free: 6.598 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-05/0.2946, allocations: 7.984 kB / 370.9 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00031/0.2949, allocations: 139.9 kB / 371.1 MB, free: 6.453 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001462/0.2951, allocations: 146.4 kB / 371.2 MB, free: 6.309 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006442/0.3015, allocations: 3.578 MB / 374.8 MB, free: 2.723 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0217/0.3233, allocations: 13.89 MB / 388.7 MB, free: 4.457 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006273/0.3296, allocations: 6.555 MB / 395.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005549/0.3352, allocations: 3.226 MB / 398.5 MB, free: 9.762 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.3352, allocations: 47.88 kB / 398.5 MB, free: 9.707 MB / 334.1 MB Notification: Performance of pre-optimization done (n=140): time 3.357e-06/0.3352, allocations: 0 / 398.5 MB, free: 9.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=143): time 0.01147/0.3467, allocations: 5.996 MB / 404.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.3468, allocations: 72.66 kB / 404.6 MB, free: 3.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002437/0.3492, allocations: 1.725 MB / 406.3 MB, free: 1.684 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001193/0.3494, allocations: 49.7 kB / 406.3 MB, free: 1.629 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009776/0.3504, allocations: 1.427 MB / 407.8 MB, free: 188 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000386/0.3508, allocations: 0.489 MB / 408.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.434e-05/0.3509, allocations: 36 kB / 408.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.351, allocations: 373.9 kB / 408.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.3521, allocations: 0.6988 MB / 409.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/0.3535, allocations: 1.192 MB / 410.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001391/0.3549, allocations: 0.9199 MB / 411.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/0.355, allocations: 8 kB / 411.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004093/0.3591, allocations: 2.57 MB / 414 MB, free: 9.629 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.3591, allocations: 8 kB / 414.1 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.284e-05/0.3591, allocations: 16 kB / 414.1 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000961/0.3601, allocations: 364.3 kB / 414.4 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/0.3615, allocations: 387.4 kB / 414.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007275/0.3688, allocations: 7.772 MB / 422.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.3705, allocations: 79.86 kB / 422.7 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/0.3706, allocations: 76.19 kB / 422.7 MB, free: 404 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 191 * 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: 4 * 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: 4 {(1,100.0%) 7,(1,100.0%) 1,(2,100.0%) 8,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001944/0.3726, allocations: 1.009 MB / 423.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003439/0.3729, allocations: 197.6 kB / 423.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003934/0.3769, allocations: 2.344 MB / 426.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.3769, allocations: 12 kB / 426.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.3769, allocations: 12 kB / 426.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.377, allocations: 7.969 kB / 426.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008076/0.385, allocations: 5.145 MB / 431.5 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.3851, allocations: 4 kB / 431.5 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008554/0.3859, allocations: 191.9 kB / 431.6 MB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00138/0.3873, allocations: 0.532 MB / 432.2 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.3875, allocations: 35.98 kB / 432.2 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01222/0.3997, allocations: 12.2 MB / 444.4 MB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.3998, allocations: 4.031 kB / 444.4 MB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005403/0.4052, allocations: 3.401 MB / 447.8 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009926/0.4062, allocations: 430.6 kB / 448.2 MB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003225/0.4065, allocations: 31.98 kB / 448.3 MB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009391/0.4075, allocations: 71.95 kB / 448.3 MB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002782/0.4078, allocations: 113.2 kB / 448.4 MB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.224e-05/0.4079, allocations: 39.98 kB / 448.5 MB, free: 5.441 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001826/0.4097, allocations: 1.172 MB / 449.7 MB, free: 4.277 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4097, allocations: 0 / 449.7 MB, free: 4.277 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002284/0.412, allocations: 0.5781 MB / 450.2 MB, free: 3.699 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 86 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003386/0.4123, allocations: 159 kB / 450.4 MB, free: 3.535 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003609/0.416, allocations: 2.409 MB / 452.8 MB, free: 1.055 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.416, allocations: 4.125 kB / 452.8 MB, free: 1.051 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1588/0.5748, allocations: 1.763 MB / 454.6 MB, free: 110.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003026/0.5779, allocations: 0.5017 MB / 455.1 MB, free: 110.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/0.5891, allocations: 7.106 MB / 462.2 MB, free: 107.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001915/0.5911, allocations: 2.37 MB / 464.5 MB, free: 106.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001694/0.5928, allocations: 404.7 kB / 464.9 MB, free: 106.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003514/0.5932, allocations: 123.8 kB / 465.1 MB, free: 106.3 MB / 382.1 MB Notification: Performance of SimCode: time 1.954e-06/0.5932, allocations: 1.094 kB / 465.1 MB, free: 106.3 MB / 382.1 MB Notification: Performance of Templates: time 0.04356/0.6367, allocations: 27.24 MB / 492.3 MB, free: 82.8 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe 2>&1) Environment - environmentSimulation: