Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.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.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 100.1 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.001049/0.001049, allocations: 177.3 kB / 15.94 MB, free: 220 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.69/1.69, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0005596/0.0005601, allocations: 12 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3067, allocations: 47.59 MB / 326.5 MB, free: 1.523 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.01752/0.3243, allocations: 10.36 MB / 336.8 MB, free: 9.234 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01329/0.3377, allocations: 4.152 MB / 341 MB, free: 5.074 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003315/0.3411, allocations: 59.69 kB / 341 MB, free: 5.016 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00344/0.3445, allocations: 0.8047 MB / 341.8 MB, free: 4.207 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006164/0.3507, allocations: 0.9852 MB / 342.8 MB, free: 3.219 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001789/0.3525, allocations: 331.6 kB / 343.1 MB, free: 2.895 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00767/0.3602, allocations: 2.955 MB / 346.1 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00452/0.3648, allocations: 2.518 MB / 348.6 MB, free: 13.36 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003954/0.3688, allocations: 1.448 MB / 350.1 MB, free: 11.91 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004697/0.3735, allocations: 1.809 MB / 351.9 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001113/0.3747, allocations: 244 kB / 352.1 MB, free: 9.855 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001799/0.3765, allocations: 303.9 kB / 352.4 MB, free: 9.559 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001616/0.3781, allocations: 1.083 MB / 353.5 MB, free: 8.473 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001603/0.3797, allocations: 0.8394 MB / 354.3 MB, free: 7.625 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008755/0.3885, allocations: 5.949 MB / 360.3 MB, free: 1.66 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3885, allocations: 4 kB / 360.3 MB, free: 1.656 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.526e-06/0.3886, allocations: 0 / 360.3 MB, free: 1.656 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002529/0.3888, allocations: 0 / 360.3 MB, free: 1.656 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01168/0.4005, allocations: 3.978 MB / 364.3 MB, free: 13.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/0.4006, allocations: 8.031 kB / 364.3 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002656/0.4033, allocations: 0.4908 MB / 364.8 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005861/0.4091, allocations: 2.318 MB / 367.1 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002666/0.4094, allocations: 263.1 kB / 367.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008463/0.4103, allocations: 351.9 kB / 367.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00992/0.4202, allocations: 4.978 MB / 372.6 MB, free: 5.098 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.183e-05/0.4204, allocations: 7.984 kB / 372.7 MB, free: 5.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003432/0.4207, allocations: 140 kB / 372.8 MB, free: 4.953 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002084/0.4209, allocations: 183.1 kB / 373 MB, free: 4.773 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008556/0.4295, allocations: 4.29 MB / 377.3 MB, free: 488 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02943/0.459, allocations: 14.95 MB / 392.2 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005063/0.4641, allocations: 4.2 MB / 396.4 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003102/0.4644, allocations: 135 kB / 396.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.993e-05/0.4645, allocations: 60.56 kB / 396.6 MB, free: 12.47 MB / 334.1 MB Notification: Performance of pre-optimization done (n=198): time 4.939e-06/0.4645, allocations: 3.938 kB / 396.6 MB, free: 12.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=218): time 0.02153/0.4861, allocations: 10.33 MB / 406.9 MB, free: 2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.034e-05/0.4862, allocations: 73.41 kB / 407 MB, free: 1.918 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004075/0.4903, allocations: 2.443 MB / 409.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003525/0.4906, allocations: 65.7 kB / 409.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00133/0.492, allocations: 1.623 MB / 411.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007732/0.4928, allocations: 0.7277 MB / 411.9 MB, free: 13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.4929, allocations: 44 kB / 411.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.4931, allocations: 406.6 kB / 412.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002083/0.4952, allocations: 1.316 MB / 413.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002291/0.4975, allocations: 1.794 MB / 415.4 MB, free: 9.246 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002374/0.4999, allocations: 1.571 MB / 417 MB, free: 7.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.4999, allocations: 4 kB / 417 MB, free: 7.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007181/0.5071, allocations: 4.11 MB / 421.1 MB, free: 3.535 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/0.5071, allocations: 8 kB / 421.1 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.649e-05/0.5072, allocations: 12 kB / 421.1 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002803/0.51, allocations: 0.879 MB / 422 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002099/0.5121, allocations: 0.5265 MB / 422.5 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/0.5227, allocations: 8.938 MB / 431.5 MB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002857/0.5256, allocations: 123.9 kB / 431.6 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002631/0.5259, allocations: 87.98 kB / 431.7 MB, free: 8.547 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 25,(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002661/0.5286, allocations: 1.211 MB / 432.9 MB, free: 7.324 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005963/0.5292, allocations: 284.7 kB / 433.2 MB, free: 7.043 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006565/0.5357, allocations: 3.762 MB / 436.9 MB, free: 3.254 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.5358, allocations: 24 kB / 436.9 MB, free: 3.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.5358, allocations: 4 kB / 437 MB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/0.5358, allocations: 19.95 kB / 437 MB, free: 3.207 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01432/0.5501, allocations: 8.079 MB / 445 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.5502, allocations: 4 kB / 445.1 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001628/0.5518, allocations: 383.8 kB / 445.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003122/0.555, allocations: 0.9335 MB / 446.4 MB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001955/0.5552, allocations: 51.98 kB / 446.4 MB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.268/0.8232, allocations: 10.42 MB / 456.8 MB, free: 107.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.126e-05/0.8232, allocations: 10.53 kB / 456.8 MB, free: 107.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/0.8337, allocations: 5.794 MB / 462.6 MB, free: 105.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002246/0.836, allocations: 0.6366 MB / 463.3 MB, free: 105.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003617/0.8364, allocations: 50.98 kB / 463.3 MB, free: 105.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/0.8377, allocations: 126.6 kB / 463.4 MB, free: 105.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005151/0.8382, allocations: 182.6 kB / 463.6 MB, free: 105.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/0.8384, allocations: 63.11 kB / 463.7 MB, free: 105.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003016/0.8414, allocations: 1.678 MB / 465.4 MB, free: 104.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8414, allocations: 0 / 465.4 MB, free: 104.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002633/0.8441, allocations: 0.7997 MB / 466.2 MB, free: 104.7 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * 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 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000598/0.8447, allocations: 204.9 kB / 466.4 MB, free: 104.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005698/0.8504, allocations: 3.934 MB / 470.3 MB, free: 102.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/0.8504, allocations: 0 / 470.3 MB, free: 102.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003423/0.8538, allocations: 2.509 MB / 472.8 MB, free: 101.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003334/0.8572, allocations: 0.7168 MB / 473.5 MB, free: 101.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01224/0.8695, allocations: 9.114 MB / 482.6 MB, free: 92.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002188/0.8717, allocations: 2.847 MB / 485.5 MB, free: 89.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0022/0.8739, allocations: 0.6749 MB / 486.2 MB, free: 88.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004878/0.8744, allocations: 183.4 kB / 486.3 MB, free: 88.79 MB / 382.1 MB Notification: Performance of SimCode: time 2.494e-06/0.8744, allocations: 0 / 486.3 MB, free: 88.79 MB / 382.1 MB Notification: Performance of Templates: time 0.06397/0.9384, allocations: 42.27 MB / 0.5162 GB, free: 46.47 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe 2>&1) Environment - environmentSimulation: