Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.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.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008957/0.008957, allocations: 98.17 kB / 15.73 MB, free: 6.012 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.001475/0.001475, allocations: 196.2 kB / 16.68 MB, free: 5.93 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.93/1.93, allocations: 205.1 MB / 222.6 MB, free: 4.477 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.00142/0.00142, allocations: 58.53 kB / 326.6 MB, free: 14.55 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1579, allocations: 46.62 MB / 373.2 MB, free: 1.418 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01847/0.1765, allocations: 12.8 MB / 386 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01331/0.1899, allocations: 4.253 MB / 390.2 MB, free: 288 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004793/0.1947, allocations: 67.69 kB / 390.3 MB, free: 220 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005435/0.2003, allocations: 0.9666 MB / 391.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00791/0.2083, allocations: 1.169 MB / 392.5 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003317/0.2116, allocations: 0.5266 MB / 393 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009921/0.2216, allocations: 4.672 MB / 397.6 MB, free: 8.848 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006163/0.2278, allocations: 3.602 MB / 401.3 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006948/0.2348, allocations: 2.119 MB / 403.4 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00742/0.2423, allocations: 2.549 MB / 405.9 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002933/0.2453, allocations: 0.5547 MB / 406.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004045/0.2493, allocations: 0.6443 MB / 407.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0029/0.2523, allocations: 1.523 MB / 408.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007107/0.2594, allocations: 2.478 MB / 411.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01285/0.2723, allocations: 7.443 MB / 418.6 MB, free: 3.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.079e-05/0.2724, allocations: 0 / 418.6 MB, free: 3.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.2724, allocations: 0 / 418.6 MB, free: 3.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000357/0.2728, allocations: 4 kB / 418.6 MB, free: 3.805 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01912/0.2919, allocations: 4.8 MB / 423.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.911e-05/0.292, allocations: 15.89 kB / 423.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002717/0.2947, allocations: 0.5175 MB / 423.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006183/0.301, allocations: 2.417 MB / 426.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002963/0.3013, allocations: 271 kB / 426.6 MB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009767/0.3023, allocations: 359.9 kB / 426.9 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0125/0.3148, allocations: 5.013 MB / 431.9 MB, free: 6.238 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001251/0.315, allocations: 11.89 kB / 432 MB, free: 6.227 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004585/0.3155, allocations: 148 kB / 432.1 MB, free: 6.082 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000261/0.3157, allocations: 183 kB / 432.3 MB, free: 5.902 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01181/0.3276, allocations: 4.291 MB / 436.6 MB, free: 1.605 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03748/0.3651, allocations: 14.76 MB / 451.3 MB, free: 2.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3981/0.7633, allocations: 4.198 MB / 455.5 MB, free: 65.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00491/0.7683, allocations: 1.992 MB / 457.5 MB, free: 65.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003873/0.7687, allocations: 134.4 kB / 457.7 MB, free: 65.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.848e-05/0.7688, allocations: 52.06 kB / 457.7 MB, free: 65.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 5.711e-06/0.7688, allocations: 1.844 kB / 457.7 MB, free: 65.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.0234/0.7922, allocations: 10.07 MB / 467.8 MB, free: 61.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/0.7923, allocations: 74 kB / 467.8 MB, free: 61.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004565/0.7969, allocations: 2.507 MB / 470.4 MB, free: 60.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002841/0.7972, allocations: 65.28 kB / 470.4 MB, free: 60.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001093/0.7983, allocations: 1.655 MB / 472.1 MB, free: 59.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006434/0.799, allocations: 0.7697 MB / 472.8 MB, free: 58.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006474/0.7996, allocations: 426.5 kB / 473.3 MB, free: 58.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.277e-05/0.7997, allocations: 301.1 kB / 473.6 MB, free: 58.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001687/0.8014, allocations: 1.298 MB / 474.9 MB, free: 57.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/0.8032, allocations: 1.784 MB / 476.6 MB, free: 56.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003702/0.8069, allocations: 3.21 MB / 479.8 MB, free: 54.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/0.8069, allocations: 18.94 kB / 479.9 MB, free: 54.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006768/0.8137, allocations: 4.085 MB / 483.9 MB, free: 52.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.962e-05/0.8138, allocations: 13.09 kB / 484 MB, free: 52.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-05/0.8138, allocations: 13.97 kB / 484 MB, free: 52.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003091/0.8169, allocations: 0.8176 MB / 484.8 MB, free: 51.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002967/0.8199, allocations: 0.5266 MB / 485.3 MB, free: 50.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01216/0.8321, allocations: 9.486 MB / 494.8 MB, free: 40.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003807/0.8359, allocations: 120.7 kB / 494.9 MB, free: 40.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004531/0.8364, allocations: 87.98 kB / 495 MB, free: 40.74 MB / 382.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 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * 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 (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 {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003322/0.8397, allocations: 1.217 MB / 496.2 MB, free: 39.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001133/0.8409, allocations: 286.2 kB / 496.5 MB, free: 39.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0082/0.8491, allocations: 3.713 MB / 0.4885 GB, free: 35.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.281e-05/0.8491, allocations: 24.56 kB / 0.4885 GB, free: 35.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/0.8492, allocations: 4 kB / 0.4885 GB, free: 35.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-05/0.8492, allocations: 16.84 kB / 0.4885 GB, free: 35.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01838/0.8676, allocations: 8.032 MB / 0.4964 GB, free: 27.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/0.8676, allocations: 0 / 0.4964 GB, free: 27.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002252/0.8699, allocations: 387.8 kB / 0.4968 GB, free: 26.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003427/0.8734, allocations: 0.8779 MB / 0.4976 GB, free: 26.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002557/0.8736, allocations: 51.98 kB / 0.4977 GB, free: 26.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01096/0.8846, allocations: 11.07 MB / 0.5085 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.8846, allocations: 4 kB / 0.5085 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00775/0.8924, allocations: 5.531 MB / 0.5139 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002056/0.8945, allocations: 0.6436 MB / 0.5145 GB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005/0.895, allocations: 48 kB / 0.5145 GB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/0.8964, allocations: 119.9 kB / 0.5147 GB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004734/0.8968, allocations: 181.7 kB / 0.5148 GB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/0.897, allocations: 64.86 kB / 0.5149 GB, free: 7.766 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002449/0.8994, allocations: 1.731 MB / 0.5166 GB, free: 6.023 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8994, allocations: 0 / 0.5166 GB, free: 6.023 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002847/0.9023, allocations: 0.7911 MB / 0.5174 GB, free: 5.234 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 (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%), (3,25,88.9%), (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.0005812/0.9029, allocations: 241 kB / 0.5176 GB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005077/0.908, allocations: 3.896 MB / 0.5214 GB, free: 1.031 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.908, allocations: 1.875 kB / 0.5214 GB, free: 1.031 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003528/0.9115, allocations: 2.491 MB / 0.5238 GB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004139/0.9157, allocations: 0.7925 MB / 0.5246 GB, free: 13.69 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01454/0.9302, allocations: 7.816 MB / 0.5322 GB, free: 5.828 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002968/0.9332, allocations: 2.769 MB / 0.5349 GB, free: 3.031 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002618/0.9359, allocations: 0.6788 MB / 0.5356 GB, free: 2.348 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006207/0.9365, allocations: 187.3 kB / 0.5358 GB, free: 2.168 MB / 398.1 MB Notification: Performance of SimCode: time 9.02e-07/0.9365, allocations: 0 / 0.5358 GB, free: 2.168 MB / 398.1 MB Notification: Performance of Templates: time 0.08044/1.017, allocations: 44.61 MB / 0.5793 GB, free: 5.547 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1)