Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_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.2.2_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.001798/0.001798, allocations: 111.7 kB / 17.06 MB, free: 6 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.001634/0.001634, allocations: 194.9 kB / 18 MB, free: 5.078 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.892/1.892, allocations: 205.1 MB / 223.9 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.001357/0.001357, allocations: 51.92 kB / 327.9 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1345, allocations: 46.61 MB / 374.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.3479/0.4824, allocations: 12.8 MB / 387.3 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01259/0.4951, allocations: 4.249 MB / 391.5 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004881/0.5001, allocations: 67.78 kB / 391.6 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004784/0.5049, allocations: 0.9749 MB / 392.6 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007397/0.5124, allocations: 1.17 MB / 393.8 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002685/0.5151, allocations: 0.536 MB / 394.3 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01053/0.5256, allocations: 4.67 MB / 399 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008818/0.5345, allocations: 3.599 MB / 402.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009705/0.5443, allocations: 2.116 MB / 404.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008841/0.5532, allocations: 2.553 MB / 407.2 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00369/0.557, allocations: 0.5535 MB / 407.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005638/0.5627, allocations: 0.6431 MB / 408.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005011/0.5678, allocations: 1.532 MB / 410 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01027/0.5781, allocations: 2.48 MB / 412.4 MB, free: 8.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01641/0.5946, allocations: 7.425 MB / 419.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.177e-05/0.5947, allocations: 0 / 419.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.5947, allocations: 0 / 419.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004874/0.5952, allocations: 4 kB / 419.9 MB, free: 2.188 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.02183/0.617, allocations: 4.684 MB / 424.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.732e-05/0.6171, allocations: 11.89 kB / 424.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00256/0.6197, allocations: 0.4971 MB / 425.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008156/0.6279, allocations: 2.404 MB / 427.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004316/0.6284, allocations: 274.9 kB / 427.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002306/0.6307, allocations: 351.9 kB / 428.1 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01647/0.6472, allocations: 5.021 MB / 433.1 MB, free: 4.773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001434/0.6474, allocations: 7.938 kB / 433.1 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006101/0.648, allocations: 144 kB / 433.2 MB, free: 4.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002641/0.6483, allocations: 183 kB / 433.4 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0119/0.6602, allocations: 4.294 MB / 437.7 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04787/0.7081, allocations: 14.72 MB / 452.4 MB, free: 1.094 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006815/0.715, allocations: 4.2 MB / 456.6 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004572/0.7196, allocations: 1.991 MB / 458.6 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005016/0.7201, allocations: 135.1 kB / 458.8 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.705e-05/0.7203, allocations: 56.56 kB / 458.8 MB, free: 10.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 7.364e-06/0.7203, allocations: 0 / 458.8 MB, free: 10.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.02707/0.7474, allocations: 10.01 MB / 468.8 MB, free: 276 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/0.7475, allocations: 77.41 kB / 468.9 MB, free: 184 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004808/0.7523, allocations: 2.502 MB / 471.4 MB, free: 13.65 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004899/0.7528, allocations: 61.7 kB / 471.5 MB, free: 13.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001532/0.7543, allocations: 1.619 MB / 473.1 MB, free: 11.95 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001219/0.7556, allocations: 0.7316 MB / 473.8 MB, free: 11.21 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008282/0.7564, allocations: 412.4 kB / 474.2 MB, free: 10.8 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.7566, allocations: 305.1 kB / 474.5 MB, free: 10.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002144/0.7587, allocations: 1.305 MB / 475.8 MB, free: 9.188 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00242/0.7612, allocations: 1.782 MB / 477.6 MB, free: 7.219 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005008/0.7662, allocations: 3.215 MB / 480.8 MB, free: 3.824 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-05/0.7662, allocations: 8 kB / 480.8 MB, free: 3.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.0085/0.7747, allocations: 4.075 MB / 484.9 MB, free: 15.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.95e-05/0.7748, allocations: 15.91 kB / 484.9 MB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-05/0.7749, allocations: 12 kB / 484.9 MB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00261/0.7775, allocations: 0.829 MB / 485.8 MB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002436/0.78, allocations: 0.5266 MB / 486.3 MB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/0.7917, allocations: 9.475 MB / 495.8 MB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003063/0.7949, allocations: 119.9 kB / 495.9 MB, free: 4.297 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003723/0.7953, allocations: 87.94 kB / 496 MB, free: 4.211 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.00294/0.7982, allocations: 1.219 MB / 497.2 MB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009897/0.7992, allocations: 280.6 kB / 497.5 MB, free: 2.703 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007035/0.8062, allocations: 3.722 MB / 0.4894 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.191e-05/0.8063, allocations: 24 kB / 0.4895 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/0.8063, allocations: 4 kB / 0.4895 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.051e-05/0.8063, allocations: 11.97 kB / 0.4895 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01566/0.822, allocations: 8.025 MB / 0.4973 GB, free: 6.766 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.8221, allocations: 0 / 0.4973 GB, free: 6.766 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001688/0.8238, allocations: 387.8 kB / 0.4977 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002773/0.8265, allocations: 0.8667 MB / 0.4985 GB, free: 5.504 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001766/0.8267, allocations: 55.97 kB / 0.4986 GB, free: 5.449 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01224/0.839, allocations: 11.06 MB / 0.5094 GB, free: 9.824 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.839, allocations: 7.938 kB / 0.5094 GB, free: 9.816 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009328/0.8484, allocations: 5.496 MB / 0.5148 GB, free: 4.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002491/0.8509, allocations: 0.6304 MB / 0.5154 GB, free: 3.598 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005274/0.8514, allocations: 55.98 kB / 0.5154 GB, free: 3.543 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/0.8529, allocations: 115.9 kB / 0.5155 GB, free: 3.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005419/0.8535, allocations: 177.7 kB / 0.5157 GB, free: 3.254 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001522/0.8536, allocations: 63.98 kB / 0.5158 GB, free: 3.191 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003412/0.8571, allocations: 1.731 MB / 0.5175 GB, free: 1.449 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.8571, allocations: 0 / 0.5175 GB, free: 1.449 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003315/0.8604, allocations: 0.793 MB / 0.5182 GB, free: 0.6562 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.0007854/0.8612, allocations: 245 kB / 0.5185 GB, free: 416 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006536/0.8677, allocations: 3.901 MB / 0.5223 GB, free: 12.43 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.8678, allocations: 4 kB / 0.5223 GB, free: 12.43 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004076/0.8718, allocations: 2.479 MB / 0.5247 GB, free: 9.871 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004344/0.8762, allocations: 0.7871 MB / 0.5255 GB, free: 9.082 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01513/0.8914, allocations: 7.698 MB / 0.533 GB, free: 1.328 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003465/0.8949, allocations: 2.769 MB / 0.5357 GB, free: 14.53 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00263/0.8975, allocations: 0.6827 MB / 0.5364 GB, free: 13.84 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006323/0.8982, allocations: 179.4 kB / 0.5365 GB, free: 13.67 MB / 478.1 MB Notification: Performance of SimCode: time 1.042e-06/0.8982, allocations: 0 / 0.5365 GB, free: 13.67 MB / 478.1 MB Notification: Performance of Templates: time 0.3763/1.274, allocations: 44.6 MB / 0.5801 GB, free: 137.1 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1)