Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001573/0.001573, allocations: 198.2 kB / 8.768 MB, free: 316 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009218/0.0009221, allocations: 95.16 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.891e-05/2.908e-05, allocations: 4 kB / 343.7 MB, free: 8.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1348, allocations: 51.48 MB / 395.2 MB, free: 4.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3375/0.4723, allocations: 115.2 MB / 0.4985 GB, free: 10.45 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/0.4726, allocations: 103.4 kB / 0.4986 GB, free: 10.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.157/1.629, allocations: 310.2 MB / 0.8015 GB, free: 35.72 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.585e-06/1.629, allocations: 0 / 0.8015 GB, free: 35.72 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001662/1.631, allocations: 300.4 kB / 0.8018 GB, free: 35.7 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3573 * Number of variables: 3573 Notification: Performance of Generate backend data structure: time 0.04208/1.673, allocations: 12.29 MB / 0.8138 GB, free: 31.68 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/1.673, allocations: 7.812 kB / 0.8138 GB, free: 31.68 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01922/1.692, allocations: 3.298 MB / 0.8171 GB, free: 30.92 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02635/1.719, allocations: 11.12 MB / 0.8279 GB, free: 29.51 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006789/1.72, allocations: 432 kB / 0.8283 GB, free: 29.51 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0047/1.724, allocations: 0.7835 MB / 0.8291 GB, free: 29.49 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03245/1.757, allocations: 14.9 MB / 0.8436 GB, free: 29.43 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04515/1.802, allocations: 16.5 MB / 0.8598 GB, free: 22.44 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006032/1.803, allocations: 17.08 kB / 0.8598 GB, free: 22.43 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003915/1.806, allocations: 11.53 kB / 0.8598 GB, free: 22.43 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004859/1.807, allocations: 0.6111 MB / 0.8604 GB, free: 22.38 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.516/2.323, allocations: 57.34 MB / 0.9164 GB, free: 47.41 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0294/2.352, allocations: 33.79 MB / 0.9494 GB, free: 24.77 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01039/2.363, allocations: 6.544 MB / 0.9558 GB, free: 24.61 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03451/2.397, allocations: 18.77 MB / 0.9741 GB, free: 22.41 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001074/2.398, allocations: 101.9 kB / 0.9742 GB, free: 22.36 MB / 474.7 MB Notification: Performance of pre-optimization done (n=590): time 8.196e-06/2.398, allocations: 2.594 kB / 0.9742 GB, free: 22.36 MB / 474.7 MB Notification: Performance of matching and sorting (n=703): time 0.07933/2.477, allocations: 28.52 MB / 1.002 GB, free: 18.91 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/2.477, allocations: 123.8 kB / 1.002 GB, free: 18.84 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007989/2.485, allocations: 4.477 MB / 1.007 GB, free: 17.11 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001487/2.487, allocations: 31.81 kB / 1.007 GB, free: 17.08 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003633/2.49, allocations: 5.56 MB / 1.012 GB, free: 12.94 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002868/2.493, allocations: 2.27 MB / 1.014 GB, free: 11.14 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004534/2.494, allocations: 0 / 1.014 GB, free: 11.14 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003829/2.494, allocations: 0.6025 MB / 1.015 GB, free: 10.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005163/2.499, allocations: 3.651 MB / 1.018 GB, free: 9.086 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006727/2.506, allocations: 5.377 MB / 1.024 GB, free: 5.434 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01278/2.519, allocations: 6.106 MB / 1.03 GB, free: 3.18 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.491e-05/2.519, allocations: 14.88 kB / 1.03 GB, free: 3.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=983) (initialization): time 0.0332/2.552, allocations: 13.69 MB / 1.043 GB, free: 15.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.677e-05/2.552, allocations: 34.36 kB / 1.043 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001071/2.552, allocations: 49.19 kB / 1.043 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008411/2.561, allocations: 2.987 MB / 1.046 GB, free: 14.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006619/2.567, allocations: 1.355 MB / 1.047 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05107/2.618, allocations: 42.9 MB / 1.089 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008229/2.627, allocations: 167.2 kB / 1.089 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002054/2.629, allocations: 298.8 kB / 1.09 GB, free: 13.47 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 229 * Number of states: 0 () * Number of discrete variables: 5 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (746): * Single equations (assignments): 728 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(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: 15 {(7,85.7%) 50,(8,78.1%) 53,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2,(4,68.8%) 25,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002083/2.631, allocations: 281.5 kB / 1.09 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002653/2.634, allocations: 0.6484 MB / 1.091 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02962/2.663, allocations: 12.26 MB / 1.103 GB, free: 2.551 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001023/2.663, allocations: 64 kB / 1.103 GB, free: 2.488 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001729/2.664, allocations: 40 kB / 1.103 GB, free: 2.449 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001441/2.664, allocations: 40.94 kB / 1.103 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4577/3.121, allocations: 25.68 MB / 1.128 GB, free: 84.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.93e-05/3.122, allocations: 6.938 kB / 1.128 GB, free: 84.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004238/3.126, allocations: 0.8606 MB / 1.129 GB, free: 84.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007089/3.133, allocations: 3.052 MB / 1.132 GB, free: 84.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001118/3.134, allocations: 75.11 kB / 1.132 GB, free: 84.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04499/3.179, allocations: 39.13 MB / 1.17 GB, free: 71.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.708e-05/3.179, allocations: 11.56 kB / 1.17 GB, free: 71.84 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0332/3.212, allocations: 18.29 MB / 1.188 GB, free: 66.61 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005073/3.217, allocations: 1.662 MB / 1.189 GB, free: 65.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002173/3.22, allocations: 41.5 kB / 1.189 GB, free: 65.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004931/3.225, allocations: 218.4 kB / 1.19 GB, free: 65.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001479/3.226, allocations: 0.5614 MB / 1.19 GB, free: 65.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004843/3.227, allocations: 193.2 kB / 1.19 GB, free: 65.77 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006212/3.233, allocations: 3.321 MB / 1.194 GB, free: 64.43 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.71e-07/3.233, allocations: 0 / 1.194 GB, free: 64.43 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0138/3.247, allocations: 2.352 MB / 1.196 GB, free: 64.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 22 (aimc0.is[2],aimc0.is[3],aimc0.is[4],aimc0.is[5],aimc0.inertiaRotor.w,aimc0.stator.core.Phi.im,aimc0.airGap.Phi_ss.re,quadraticLoadTorque0.phi,aimcH.is[2],aimcH.is[3],aimcH.is[4],aimcH.is[5],aimcH.inertiaRotor.w,aimcH.stator.electroMagneticConverter.Phi.re,aimcH.stator.core.Phi.im,quadraticLoadTorqueH.phi,aimc1.inertiaRotor.w,aimc1.stator.core.Phi.re,aimc1.stator.core.Phi.im,aimc1.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.re,aimc1.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorque1.phi) * Number of discrete variables: 5 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (446): * Single equations (assignments): 436 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(8,67.2%) 48,(1,100.0%) 1,(3,100.0%) 22,(8,82.8%) 52,(1,100.0%) 1,(3,100.0%) 22,(6,75.0%) 51,(1,100.0%) 1,(3,100.0%) 23,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002279/3.249, allocations: 0.5307 MB / 1.196 GB, free: 64.28 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02076/3.27, allocations: 12.23 MB / 1.208 GB, free: 58.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-05/3.27, allocations: 3.562 kB / 1.208 GB, free: 58.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01331/3.283, allocations: 7.38 MB / 1.216 GB, free: 54.47 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01047/3.294, allocations: 1.235 MB / 1.217 GB, free: 54.18 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05048/3.344, allocations: 21.38 MB / 1.238 GB, free: 45.58 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009363/3.354, allocations: 8.521 MB / 1.246 GB, free: 41.97 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006748/3.36, allocations: 1.799 MB / 1.248 GB, free: 40.76 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001396/3.362, allocations: 424.8 kB / 1.248 GB, free: 40.36 MB / 0.5105 GB Notification: Performance of SimCode: time 8.41e-07/3.362, allocations: 0 / 1.248 GB, free: 40.36 MB / 0.5105 GB Notification: Performance of Templates: time 0.5498/3.911, allocations: 107.3 MB / 1.353 GB, free: 72.39 MB / 0.5105 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe 2>&1)