Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_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.2.2_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.001552/0.001552, allocations: 104.3 kB / 17.06 MB, free: 6.102 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.001377/0.001377, allocations: 196.1 kB / 18 MB, free: 5.176 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.771/1.771, allocations: 205.1 MB / 223.9 MB, free: 12.2 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.002134/0.002135, allocations: 51.92 kB / 327.9 MB, free: 3.246 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1316, allocations: 46.61 MB / 374.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.2777/0.4093, allocations: 12.83 MB / 387.4 MB, free: 5.992 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01284/0.4223, allocations: 4.245 MB / 391.6 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004899/0.4273, allocations: 66.78 kB / 391.7 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005019/0.4324, allocations: 0.969 MB / 392.6 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00817/0.4406, allocations: 1.177 MB / 393.8 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003277/0.4439, allocations: 0.53 MB / 394.3 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01017/0.4541, allocations: 4.668 MB / 399 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006107/0.4602, allocations: 3.606 MB / 402.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006598/0.4669, allocations: 2.119 MB / 404.7 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00728/0.4742, allocations: 2.551 MB / 407.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002926/0.4771, allocations: 0.5524 MB / 407.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005045/0.4822, allocations: 0.6426 MB / 408.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004382/0.4866, allocations: 1.535 MB / 410 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008464/0.4951, allocations: 2.477 MB / 412.5 MB, free: 8.531 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01571/0.5109, allocations: 7.424 MB / 419.9 MB, free: 2.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-05/0.5109, allocations: 3.984 kB / 419.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.987e-06/0.5109, allocations: 0 / 419.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004126/0.5114, allocations: 4 kB / 419.9 MB, free: 2.125 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.02313/0.5345, allocations: 4.684 MB / 424.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.682e-05/0.5346, allocations: 8.031 kB / 424.6 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003372/0.538, allocations: 0.4956 MB / 425.1 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008812/0.5468, allocations: 2.412 MB / 427.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003474/0.5472, allocations: 263 kB / 427.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001945/0.5492, allocations: 351.9 kB / 428.1 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01492/0.5641, allocations: 5.021 MB / 433.1 MB, free: 4.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001517/0.5644, allocations: 7.938 kB / 433.2 MB, free: 4.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005462/0.5649, allocations: 148 kB / 433.3 MB, free: 4.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002609/0.5652, allocations: 175.1 kB / 433.5 MB, free: 4.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01245/0.5776, allocations: 4.294 MB / 437.8 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03776/0.6155, allocations: 14.72 MB / 452.5 MB, free: 1.039 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006692/0.6222, allocations: 4.201 MB / 456.7 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003834/0.6261, allocations: 1.994 MB / 458.7 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003813/0.6265, allocations: 131.1 kB / 458.8 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.172e-05/0.6266, allocations: 56.56 kB / 458.9 MB, free: 10.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 6.031e-06/0.6266, allocations: 0 / 458.9 MB, free: 10.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.02365/0.6503, allocations: 10.01 MB / 468.9 MB, free: 220 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.851e-05/0.6504, allocations: 77.41 kB / 469 MB, free: 128 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004412/0.6548, allocations: 2.506 MB / 471.5 MB, free: 13.6 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006083/0.6555, allocations: 65.64 kB / 471.5 MB, free: 13.53 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00161/0.6571, allocations: 1.619 MB / 473.1 MB, free: 11.89 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00118/0.6583, allocations: 0.7393 MB / 473.9 MB, free: 11.14 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008151/0.6591, allocations: 412.3 kB / 474.3 MB, free: 10.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.6593, allocations: 305.1 kB / 474.6 MB, free: 10.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002237/0.6615, allocations: 1.305 MB / 475.9 MB, free: 9.117 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002505/0.664, allocations: 1.778 MB / 477.7 MB, free: 7.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004785/0.6688, allocations: 3.212 MB / 480.9 MB, free: 3.762 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.43e-05/0.6689, allocations: 8 kB / 480.9 MB, free: 3.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007273/0.6762, allocations: 4.079 MB / 485 MB, free: 15.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.6762, allocations: 15.91 kB / 485 MB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-05/0.6763, allocations: 12 kB / 485 MB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002466/0.6787, allocations: 0.8246 MB / 485.8 MB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002323/0.6811, allocations: 0.5305 MB / 486.3 MB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01179/0.6929, allocations: 9.474 MB / 495.8 MB, free: 4.348 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002949/0.6959, allocations: 119.9 kB / 495.9 MB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002696/0.6962, allocations: 84 kB / 496 MB, free: 4.148 MB / 414.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.002934/0.6991, allocations: 1.219 MB / 497.2 MB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008492/0.7, allocations: 276.7 kB / 497.5 MB, free: 2.645 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006565/0.7066, allocations: 3.723 MB / 0.4895 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.676e-05/0.7066, allocations: 20 kB / 0.4895 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.7066, allocations: 8 kB / 0.4895 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.992e-05/0.7066, allocations: 11.95 kB / 0.4895 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01496/0.7216, allocations: 8.021 MB / 0.4974 GB, free: 6.711 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.7217, allocations: 0 / 0.4974 GB, free: 6.711 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001655/0.7233, allocations: 391.8 kB / 0.4977 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002941/0.7263, allocations: 0.8671 MB / 0.4986 GB, free: 5.445 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003889/0.7267, allocations: 51.98 kB / 0.4986 GB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01397/0.7407, allocations: 11.06 MB / 0.5094 GB, free: 9.766 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.7407, allocations: 7.938 kB / 0.5094 GB, free: 9.758 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01004/0.7508, allocations: 5.504 MB / 0.5148 GB, free: 4.188 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002302/0.7531, allocations: 0.6304 MB / 0.5154 GB, free: 3.535 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006389/0.7538, allocations: 51.98 kB / 0.5155 GB, free: 3.484 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001572/0.7554, allocations: 119.8 kB / 0.5156 GB, free: 3.367 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006123/0.756, allocations: 177.9 kB / 0.5158 GB, free: 3.191 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/0.7562, allocations: 67.97 kB / 0.5158 GB, free: 3.125 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00316/0.7593, allocations: 1.731 MB / 0.5175 GB, free: 1.383 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.7594, allocations: 0 / 0.5175 GB, free: 1.383 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003371/0.7627, allocations: 0.793 MB / 0.5183 GB, free: 0.5898 MB / 446.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.0006553/0.7634, allocations: 236.5 kB / 0.5185 GB, free: 356 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007067/0.7705, allocations: 3.899 MB / 0.5223 GB, free: 12.37 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/0.7705, allocations: 2 kB / 0.5223 GB, free: 12.37 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004132/0.7747, allocations: 2.487 MB / 0.5248 GB, free: 9.809 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004192/0.7789, allocations: 0.7871 MB / 0.5255 GB, free: 9.02 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01417/0.7931, allocations: 7.702 MB / 0.533 GB, free: 1.262 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003143/0.7963, allocations: 2.769 MB / 0.5357 GB, free: 14.46 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002568/0.7989, allocations: 0.6827 MB / 0.5364 GB, free: 13.78 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007253/0.7996, allocations: 183.4 kB / 0.5366 GB, free: 13.6 MB / 478.1 MB Notification: Performance of SimCode: time 1.994e-06/0.7996, allocations: 0 / 0.5366 GB, free: 13.6 MB / 478.1 MB Notification: Performance of Templates: time 0.4457/1.245, allocations: 44.59 MB / 0.5801 GB, free: 137 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe 2>&1)