Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_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.001092/0.001092, allocations: 114.5 kB / 18.41 MB, free: 4.68 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.001036/0.001036, allocations: 186.2 kB / 19.34 MB, free: 3.754 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.243/1.243, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001178/0.001178, allocations: 55.92 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07185/0.07304, allocations: 46.6 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.1583/0.2314, allocations: 9.652 MB / 385.5 MB, free: 8.121 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007383/0.2388, allocations: 3.067 MB / 388.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/0.2402, allocations: 42.31 kB / 388.6 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002273/0.2425, allocations: 0.6671 MB / 389.3 MB, free: 6.039 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002834/0.2454, allocations: 0.7824 MB / 390 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.2465, allocations: 378 kB / 390.4 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00333/0.2499, allocations: 2.457 MB / 392.9 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002746/0.2526, allocations: 1.721 MB / 394.6 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001947/0.2546, allocations: 1.077 MB / 395.7 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00242/0.257, allocations: 1.311 MB / 397 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005878/0.2576, allocations: 279.2 kB / 397.3 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.2588, allocations: 367.3 kB / 397.6 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001042/0.2598, allocations: 0.778 MB / 398.4 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001605/0.2615, allocations: 1.271 MB / 399.7 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004844/0.2663, allocations: 3.65 MB / 403.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2664, allocations: 1.719 kB / 403.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2664, allocations: 0 / 403.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.2e-05/0.2665, allocations: 0 / 403.3 MB, free: 15.19 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.006946/0.2734, allocations: 2.639 MB / 406 MB, free: 13.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.2735, allocations: 9.625 kB / 406 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007194/0.2742, allocations: 282.1 kB / 406.2 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/0.2762, allocations: 1.281 MB / 407.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.2764, allocations: 141.7 kB / 407.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002832/0.2767, allocations: 192.3 kB / 407.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0038/0.2805, allocations: 2.421 MB / 410.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.391e-05/0.2805, allocations: 3.312 kB / 410.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001816/0.2807, allocations: 80.36 kB / 410.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001132/0.2808, allocations: 91.19 kB / 410.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003092/0.2839, allocations: 1.965 MB / 412.4 MB, free: 9.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01089/0.2948, allocations: 7.787 MB / 420.2 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.2965, allocations: 1.23 MB / 421.4 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001775/0.2983, allocations: 0.9683 MB / 422.4 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002306/0.2985, allocations: 118.1 kB / 422.5 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.2986, allocations: 47.56 kB / 422.5 MB, free: 480 kB / 334.1 MB Notification: Performance of pre-optimization done (n=95): time 2.895e-06/0.2986, allocations: 4 kB / 422.6 MB, free: 476 kB / 334.1 MB Notification: Performance of matching and sorting (n=111): time 0.01225/0.3108, allocations: 5.89 MB / 428.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.3109, allocations: 64.41 kB / 428.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001811/0.3127, allocations: 1.298 MB / 429.8 MB, free: 9.066 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.3128, allocations: 53.7 kB / 429.9 MB, free: 9.008 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006306/0.3135, allocations: 0.9341 MB / 430.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003019/0.3138, allocations: 412.5 kB / 431.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003858/0.3142, allocations: 247.5 kB / 431.4 MB, free: 7.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3143, allocations: 361.9 kB / 431.8 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009935/0.3153, allocations: 0.6402 MB / 432.4 MB, free: 6.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/0.3166, allocations: 1.004 MB / 433.4 MB, free: 5.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0023/0.3189, allocations: 1.732 MB / 435.2 MB, free: 3.367 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.3189, allocations: 4 kB / 435.2 MB, free: 3.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00367/0.3226, allocations: 2.25 MB / 437.4 MB, free: 1.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.3226, allocations: 11.94 kB / 437.4 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.3226, allocations: 12 kB / 437.4 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/0.3238, allocations: 0.4928 MB / 437.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.325, allocations: 303.5 kB / 438.2 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006966/0.332, allocations: 7.128 MB / 445.4 MB, free: 8.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.333, allocations: 91.86 kB / 445.4 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.3332, allocations: 52 kB / 445.5 MB, free: 8.574 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.0009769/0.3342, allocations: 0.6112 MB / 446.1 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/0.3344, allocations: 151.1 kB / 446.3 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003408/0.3378, allocations: 1.972 MB / 448.2 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.3379, allocations: 3.984 kB / 448.2 MB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3379, allocations: 0 / 448.2 MB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006331/0.3385, allocations: 360 kB / 448.6 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002448/0.3388, allocations: 27.98 kB / 448.6 MB, free: 5.398 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007797/0.3396, allocations: 75.91 kB / 448.7 MB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002101/0.3398, allocations: 84.86 kB / 448.8 MB, free: 5.242 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004418/0.3442, allocations: 2.09 MB / 450.9 MB, free: 3.129 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003353/0.3476, allocations: 2.46 MB / 453.3 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009881/0.3486, allocations: 0.6675 MB / 454 MB, free: 15.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001368/0.35, allocations: 0.8956 MB / 454.9 MB, free: 15.08 MB / 382.1 MB Notification: Performance of Backend: time 3.71e-07/0.35, allocations: 0 / 454.9 MB, free: 15.08 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003337/0.3533, allocations: 1.833 MB / 456.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of SimCode: time 0.007001/0.3603, allocations: 4.557 MB / 461.3 MB, free: 8.547 MB / 382.1 MB Notification: Performance of Templates: time 0.04164/0.402, allocations: 25.45 MB / 486.7 MB, free: 15.05 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1)