Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.InductionMachines.IMC_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 112.7 kB / 17.75 MB, free: 5.18 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.00103/0.001031, allocations: 187 kB / 18.68 MB, free: 4.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009296/0.0009297, allocations: 51.92 kB / 352 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2189, allocations: 49.44 MB / 401.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.009782/0.2287, allocations: 9.677 MB / 411.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004702/0.2334, allocations: 3.03 MB / 414.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005306/0.2339, allocations: 51.75 kB / 414.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.2352, allocations: 0.6559 MB / 414.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00145/0.2367, allocations: 0.7726 MB / 415.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006137/0.2373, allocations: 391.3 kB / 416 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002074/0.2394, allocations: 2.425 MB / 418.4 MB, free: 7.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001759/0.2412, allocations: 1.747 MB / 420.2 MB, free: 5.977 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001314/0.2425, allocations: 1.075 MB / 421.3 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001546/0.2441, allocations: 1.312 MB / 422.6 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003334/0.2444, allocations: 280 kB / 422.8 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006277/0.2451, allocations: 371.8 kB / 423.2 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006699/0.2457, allocations: 0.7791 MB / 424 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001162/0.2469, allocations: 1.264 MB / 425.2 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003255/0.2502, allocations: 3.641 MB / 428.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2502, allocations: 0 / 428.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2502, allocations: 0 / 428.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.768e-05/0.2502, allocations: 0 / 428.9 MB, free: 13.24 MB / 350.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.004632/0.2549, allocations: 2.579 MB / 431.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.2549, allocations: 12.03 kB / 431.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006494/0.2556, allocations: 262 kB / 431.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002202/0.2578, allocations: 1.353 MB / 433.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.422e-05/0.2579, allocations: 140.2 kB / 433.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000277/0.2582, allocations: 200 kB / 433.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003714/0.2619, allocations: 2.415 MB / 435.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.806e-05/0.262, allocations: 11.84 kB / 435.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/0.2622, allocations: 79.98 kB / 435.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.929e-05/0.2623, allocations: 91.67 kB / 436 MB, free: 5.961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003073/0.2653, allocations: 1.959 MB / 438 MB, free: 4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01061/0.276, allocations: 7.758 MB / 445.7 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.2775, allocations: 1.228 MB / 447 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001778/0.2793, allocations: 0.9712 MB / 447.9 MB, free: 9.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002198/0.2796, allocations: 122 kB / 448 MB, free: 9.609 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.2796, allocations: 43.56 kB / 448.1 MB, free: 9.559 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.856e-06/0.2796, allocations: 4 kB / 448.1 MB, free: 9.555 MB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.01225/0.2919, allocations: 5.862 MB / 454 MB, free: 3.555 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.2919, allocations: 64.34 kB / 454 MB, free: 3.477 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/0.2936, allocations: 1.313 MB / 455.3 MB, free: 2.156 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.902e-05/0.2937, allocations: 49.7 kB / 455.4 MB, free: 2.102 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005886/0.2943, allocations: 0.9121 MB / 456.3 MB, free: 1.176 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002778/0.2946, allocations: 390.4 kB / 456.7 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003746/0.295, allocations: 247.4 kB / 456.9 MB, free: 0.543 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.2951, allocations: 361.9 kB / 457.3 MB, free: 188 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009749/0.2961, allocations: 0.6364 MB / 457.9 MB, free: 15.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.2973, allocations: 1 MB / 458.9 MB, free: 14.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002222/0.2995, allocations: 1.735 MB / 460.6 MB, free: 12.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.2995, allocations: 4 kB / 460.6 MB, free: 12.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003678/0.3032, allocations: 2.253 MB / 462.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.3033, allocations: 12 kB / 462.9 MB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.3033, allocations: 12 kB / 462.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/0.3045, allocations: 488.2 kB / 463.4 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.3056, allocations: 307.5 kB / 463.7 MB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006905/0.3125, allocations: 7.132 MB / 470.8 MB, free: 1.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.3136, allocations: 79.92 kB / 470.9 MB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-05/0.3137, allocations: 55.98 kB / 471 MB, free: 1.734 MB / 382.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.0009796/0.3147, allocations: 0.6049 MB / 471.6 MB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002367/0.315, allocations: 142.2 kB / 471.7 MB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003327/0.3183, allocations: 1.976 MB / 473.7 MB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/0.3183, allocations: 7.969 kB / 473.7 MB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3183, allocations: 0 / 473.7 MB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006366/0.319, allocations: 359.2 kB / 474 MB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002009/0.3192, allocations: 24 kB / 474.1 MB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007716/0.32, allocations: 67.91 kB / 474.1 MB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/0.3202, allocations: 88.84 kB / 474.2 MB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004309/0.3245, allocations: 2.086 MB / 476.3 MB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003195/0.3277, allocations: 2.459 MB / 478.8 MB, free: 9.84 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009131/0.3286, allocations: 0.6636 MB / 479.4 MB, free: 9.176 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001198/0.3298, allocations: 0.8917 MB / 480.3 MB, free: 8.281 MB / 398.1 MB Notification: Performance of Backend: time 1.713e-06/0.3298, allocations: 0 / 480.3 MB, free: 8.281 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003287/0.3331, allocations: 1.82 MB / 482.1 MB, free: 6.371 MB / 398.1 MB Notification: Performance of SimCode: time 0.006451/0.3396, allocations: 4.501 MB / 486.6 MB, free: 1.82 MB / 398.1 MB Notification: Performance of Templates: time 0.0403/0.3799, allocations: 25.43 MB / 0.5001 GB, free: 8.633 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1)