Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 110.2 kB / 17.06 MB, free: 5.828 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.0014/0.0014, allocations: 198.9 kB / 18 MB, free: 4.949 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.784/1.784, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.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.001471/0.001471, allocations: 51.92 kB / 327.9 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1276, allocations: 46.62 MB / 374.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.3444/0.472, allocations: 8.855 MB / 383.4 MB, free: 8.598 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008532/0.4806, allocations: 2.917 MB / 386.3 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002782/0.4835, allocations: 34.59 kB / 386.3 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002746/0.4863, allocations: 0.6116 MB / 386.9 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003996/0.4903, allocations: 0.7244 MB / 387.6 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.4916, allocations: 324.3 kB / 388 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004613/0.4962, allocations: 2.394 MB / 390.3 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002827/0.4991, allocations: 1.715 MB / 392.1 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002908/0.502, allocations: 1.058 MB / 393.1 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003771/0.5058, allocations: 1.341 MB / 394.5 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008025/0.5066, allocations: 279.6 kB / 394.7 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.5083, allocations: 370.8 kB / 395.1 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001032/0.5093, allocations: 0.8026 MB / 395.9 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003087/0.5124, allocations: 1.26 MB / 397.2 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006638/0.5191, allocations: 3.681 MB / 400.8 MB, free: 96 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.123e-05/0.5191, allocations: 0 / 400.8 MB, free: 96 kB / 318.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.5191, allocations: 1.188 kB / 400.8 MB, free: 96 kB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001752/0.5193, allocations: 0 / 400.8 MB, free: 96 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.008915/0.5282, allocations: 2.577 MB / 403.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001001/0.5284, allocations: 18.44 kB / 403.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.5297, allocations: 254.6 kB / 403.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00447/0.5342, allocations: 1.306 MB / 405 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/0.5344, allocations: 141.1 kB / 405.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003857/0.5348, allocations: 186 kB / 405.3 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005957/0.5407, allocations: 2.41 MB / 407.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.22e-05/0.5409, allocations: 7.344 kB / 407.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002401/0.5411, allocations: 71.31 kB / 407.8 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001571/0.5413, allocations: 89.92 kB / 407.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004671/0.546, allocations: 2.018 MB / 409.9 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01706/0.563, allocations: 7.365 MB / 417.3 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002055/0.5651, allocations: 1.274 MB / 418.5 MB, free: 3.125 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001791/0.567, allocations: 0.9159 MB / 419.5 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003127/0.5673, allocations: 122.1 kB / 419.6 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.515e-05/0.5673, allocations: 39.56 kB / 419.6 MB, free: 2.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=84): time 2.966e-06/0.5674, allocations: 0 / 419.6 MB, free: 2.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=100): time 0.0112/0.5786, allocations: 4.998 MB / 424.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.5787, allocations: 64.41 kB / 424.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00242/0.5811, allocations: 1.376 MB / 426.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001439/0.5813, allocations: 49.64 kB / 426.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009812/0.5823, allocations: 0.893 MB / 427 MB, free: 10.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003747/0.5826, allocations: 346.9 kB / 427.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003813/0.583, allocations: 222.8 kB / 427.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.5832, allocations: 345.9 kB / 427.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/0.5842, allocations: 0.6427 MB / 428.5 MB, free: 8.934 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.5855, allocations: 0.9225 MB / 429.5 MB, free: 7.891 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002394/0.5879, allocations: 1.649 MB / 431.1 MB, free: 6.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/0.5879, allocations: 0 / 431.1 MB, free: 6.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.005026/0.5929, allocations: 2.386 MB / 433.5 MB, free: 3.719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/0.593, allocations: 11.98 kB / 433.5 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/0.593, allocations: 8 kB / 433.5 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001962/0.595, allocations: 0.7127 MB / 434.2 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009102/0.5959, allocations: 239.6 kB / 434.5 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01212/0.608, allocations: 8.748 MB / 443.2 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.6099, allocations: 75.86 kB / 443.3 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/0.6101, allocations: 60.11 kB / 443.3 MB, free: 9.582 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001631/0.6118, allocations: 0.6107 MB / 443.9 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005722/0.6123, allocations: 154.2 kB / 444.1 MB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003737/0.6161, allocations: 1.893 MB / 446 MB, free: 6.895 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.6161, allocations: 8 kB / 446 MB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.6161, allocations: 4.125 kB / 446 MB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.6161, allocations: 7.922 kB / 446 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008403/0.6246, allocations: 4.016 MB / 450 MB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.6246, allocations: 4 kB / 450 MB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00093/0.6256, allocations: 184 kB / 450.2 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001413/0.627, allocations: 466.8 kB / 450.7 MB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-05/0.6271, allocations: 31.98 kB / 450.7 MB, free: 2.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007368/0.6345, allocations: 6.692 MB / 457.4 MB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.6345, allocations: 0 / 457.4 MB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005408/0.6399, allocations: 2.775 MB / 460.2 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/0.6412, allocations: 355.2 kB / 460.5 MB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/0.6415, allocations: 24 kB / 460.5 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008372/0.6423, allocations: 75.91 kB / 460.6 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003026/0.6426, allocations: 80.83 kB / 460.7 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.468e-05/0.6427, allocations: 23.98 kB / 460.7 MB, free: 7.574 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001746/0.6445, allocations: 0.9582 MB / 461.7 MB, free: 6.613 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6445, allocations: 4 kB / 461.7 MB, free: 6.609 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002039/0.6465, allocations: 436.1 kB / 462.1 MB, free: 6.184 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 3 systems {(2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004785/0.647, allocations: 178.9 kB / 462.3 MB, free: 6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003939/0.651, allocations: 2.007 MB / 464.3 MB, free: 3.965 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.651, allocations: 1.875 kB / 464.3 MB, free: 3.965 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002113/0.6531, allocations: 1.343 MB / 465.6 MB, free: 2.562 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/0.6554, allocations: 386.2 kB / 466 MB, free: 2.188 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007635/0.6631, allocations: 4.018 MB / 470 MB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001507/0.6646, allocations: 1.689 MB / 471.7 MB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001311/0.666, allocations: 320 kB / 472 MB, free: 12.08 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003231/0.6663, allocations: 95.42 kB / 472.1 MB, free: 11.98 MB / 398.1 MB Notification: Performance of SimCode: time 1.342e-06/0.6663, allocations: 0 / 472.1 MB, free: 11.98 MB / 398.1 MB Notification: Performance of Templates: time 0.05161/0.7179, allocations: 24.88 MB / 497 MB, free: 3.055 MB / 414.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1)