Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.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.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01033/0.01033, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001253/0.001253, allocations: 197.2 kB / 16.67 MB, free: 5.973 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.89/1.89, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.001182/0.001182, allocations: 43.94 kB / 326.6 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1205, allocations: 46.62 MB / 373.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.3042/0.4248, allocations: 9.635 MB / 382.8 MB, free: 8.109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008716/0.4336, allocations: 3.076 MB / 385.9 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002807/0.4364, allocations: 41.75 kB / 385.9 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003303/0.4398, allocations: 0.6313 MB / 386.6 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00607/0.446, allocations: 0.7483 MB / 387.3 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002613/0.4486, allocations: 372.7 kB / 387.7 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006918/0.4555, allocations: 2.456 MB / 390.1 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004503/0.4601, allocations: 1.724 MB / 391.9 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004757/0.4649, allocations: 1.069 MB / 392.9 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005194/0.4702, allocations: 1.31 MB / 394.2 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002378/0.4726, allocations: 279.8 kB / 394.5 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003231/0.4759, allocations: 373.7 kB / 394.9 MB, free: 2.203 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002807/0.4787, allocations: 0.7774 MB / 395.6 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005903/0.4847, allocations: 1.267 MB / 396.9 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01067/0.4954, allocations: 3.654 MB / 400.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.157e-05/0.4955, allocations: 0.7188 kB / 400.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.218e-06/0.4955, allocations: 0 / 400.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002364/0.4957, allocations: 0.9375 kB / 400.6 MB, free: 15.22 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.01404/0.5098, allocations: 2.635 MB / 403.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.473e-05/0.5099, allocations: 13.67 kB / 403.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002568/0.5125, allocations: 278.7 kB / 403.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005893/0.5184, allocations: 1.281 MB / 404.8 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002479/0.5187, allocations: 141.9 kB / 404.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009406/0.5197, allocations: 192.5 kB / 405.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009388/0.5291, allocations: 2.425 MB / 407.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001873/0.5294, allocations: 6.969 kB / 407.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005528/0.5299, allocations: 76.19 kB / 407.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002135/0.5302, allocations: 92.52 kB / 407.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006154/0.5363, allocations: 1.96 MB / 409.7 MB, free: 9.625 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02247/0.5588, allocations: 7.791 MB / 417.4 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002123/0.561, allocations: 1.224 MB / 418.7 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001894/0.5629, allocations: 0.9674 MB / 419.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002786/0.5632, allocations: 126 kB / 419.8 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.5633, allocations: 47.5 kB / 419.8 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of pre-optimization done (n=95): time 3.126e-06/0.5633, allocations: 0 / 419.8 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of matching and sorting (n=111): time 0.01536/0.5787, allocations: 5.883 MB / 425.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.708e-05/0.5789, allocations: 64.41 kB / 425.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002867/0.5817, allocations: 1.31 MB / 427.1 MB, free: 9.113 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000197/0.5819, allocations: 49.7 kB / 427.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008797/0.5828, allocations: 0.9496 MB / 428.1 MB, free: 8.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004444/0.5833, allocations: 408.5 kB / 428.5 MB, free: 7.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004666/0.5838, allocations: 251.5 kB / 428.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.584, allocations: 353.9 kB / 429.1 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.5851, allocations: 0.6442 MB / 429.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/0.5866, allocations: 1.004 MB / 430.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002723/0.5893, allocations: 1.727 MB / 432.4 MB, free: 3.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.5894, allocations: 4 kB / 432.4 MB, free: 3.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004617/0.594, allocations: 2.257 MB / 434.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.67e-05/0.594, allocations: 8 kB / 434.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/0.5941, allocations: 12 kB / 434.7 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/0.5954, allocations: 496.2 kB / 435.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.5965, allocations: 307.5 kB / 435.5 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008417/0.605, allocations: 7.117 MB / 442.6 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00212/0.6072, allocations: 87.86 kB / 442.7 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001888/0.6074, allocations: 56 kB / 442.7 MB, free: 8.633 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 3 systems {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001945/0.6093, allocations: 0.6073 MB / 443.4 MB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008066/0.6101, allocations: 151.1 kB / 443.5 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004163/0.6143, allocations: 1.972 MB / 445.5 MB, free: 5.863 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.6144, allocations: 8 kB / 445.5 MB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-05/0.6144, allocations: 8 kB / 445.5 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-05/0.6144, allocations: 7.969 kB / 445.5 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009046/0.6235, allocations: 4.129 MB / 449.6 MB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/0.6236, allocations: 4.188 kB / 449.6 MB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009068/0.6245, allocations: 188 kB / 449.8 MB, free: 1.434 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0018/0.6263, allocations: 0.5348 MB / 450.4 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/0.6264, allocations: 36.05 kB / 450.4 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01235/0.6388, allocations: 8.766 MB / 459.2 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.437e-05/0.6389, allocations: 4 kB / 459.2 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006042/0.645, allocations: 2.856 MB / 462 MB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001379/0.6464, allocations: 356 kB / 462.4 MB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003156/0.6467, allocations: 35.98 kB / 462.4 MB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009098/0.6477, allocations: 67.92 kB / 462.5 MB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003615/0.648, allocations: 88.84 kB / 462.5 MB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.253e-05/0.6481, allocations: 32 kB / 462.6 MB, free: 4.016 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001885/0.65, allocations: 0.8917 MB / 463.5 MB, free: 3.121 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.65, allocations: 0 / 463.5 MB, free: 3.121 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002319/0.6524, allocations: 440 kB / 463.9 MB, free: 2.691 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,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.0005216/0.6529, allocations: 187.5 kB / 464.1 MB, free: 2.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004628/0.6575, allocations: 2.236 MB / 466.3 MB, free: 184 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/0.6576, allocations: 0 / 466.3 MB, free: 184 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002794/0.6604, allocations: 1.506 MB / 467.8 MB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00283/0.6633, allocations: 422 kB / 468.2 MB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009762/0.673, allocations: 4.164 MB / 472.4 MB, free: 9.965 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00184/0.675, allocations: 1.65 MB / 474.1 MB, free: 8.285 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00162/0.6766, allocations: 320.8 kB / 474.4 MB, free: 7.965 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003821/0.677, allocations: 99.42 kB / 474.5 MB, free: 7.867 MB / 398.1 MB Notification: Performance of SimCode: time 1.352e-06/0.677, allocations: 0 / 474.5 MB, free: 7.867 MB / 398.1 MB Notification: Performance of Templates: time 0.05508/0.7321, allocations: 24.1 MB / 498.6 MB, free: 15.72 MB / 430.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1)