Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 HanserModelica with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Ignoring simflag -noemit -jacobian= since it seems broken on HelloWorld Running command: translateModel(HanserModelica.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Transformer") translateModel(HanserModelica.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001589/0.001588, allocations: 172.1 kB / 16.12 MB, free: 5.668 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.06188/0.06188, allocations: 8.775 MB / 25.64 MB, free: 3.797 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205.4 MB / 233.9 MB, free: 12.49 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007142/0.0007142, allocations: 90.3 kB / 284.4 MB, free: 14.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004913/0.0004914, allocations: 23.94 kB / 348.2 MB, free: 14.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.288, allocations: 49.7 MB / 397.9 MB, free: 36.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4887/0.7768, allocations: 165.1 MB / 0.5498 GB, free: 46.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/0.777, allocations: 78.56 kB / 0.5499 GB, free: 46.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.365/4.142, allocations: 0.8553 GB / 1.405 GB, free: 28.14 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.166e-06/4.142, allocations: 0 / 1.405 GB, free: 28.14 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.001449/4.143, allocations: 478.8 kB / 1.406 GB, free: 28.1 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5875 * Number of variables: 5875 Notification: Performance of Generate backend data structure: time 0.07426/4.218, allocations: 20.51 MB / 1.426 GB, free: 21.77 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/4.218, allocations: 7.75 kB / 1.426 GB, free: 21.77 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05646/4.274, allocations: 10.38 MB / 1.436 GB, free: 20.58 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03666/4.311, allocations: 15.38 MB / 1.451 GB, free: 18.59 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002322/4.313, allocations: 1.545 MB / 1.452 GB, free: 18.54 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009605/4.323, allocations: 2.014 MB / 1.454 GB, free: 18.53 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09335/4.416, allocations: 36.11 MB / 1.49 GB, free: 16.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009145/4.417, allocations: 34.09 kB / 1.49 GB, free: 16.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008403/4.426, allocations: 0.8651 MB / 1.49 GB, free: 16.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001567/4.427, allocations: 1.39 MB / 1.492 GB, free: 16.04 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07622/4.503, allocations: 32.7 MB / 1.524 GB, free: 8.637 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5951/5.099, allocations: 113.1 MB / 1.634 GB, free: 36.07 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04364/5.142, allocations: 44.26 MB / 1.677 GB, free: 32.33 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02699/5.169, allocations: 16.54 MB / 1.694 GB, free: 32.16 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09512/5.264, allocations: 50.45 MB / 1.743 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/5.265, allocations: 178.8 kB / 1.743 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1578): time 1.864e-05/5.265, allocations: 0 / 1.743 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1590): time 0.5375/5.802, allocations: 72.9 MB / 1.814 GB, free: 79.04 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/5.802, allocations: 218.6 kB / 1.814 GB, free: 78.93 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01036/5.813, allocations: 6.736 MB / 1.821 GB, free: 78.55 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.003052/5.816, allocations: 244.2 kB / 1.821 GB, free: 78.52 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.004725/5.821, allocations: 7.382 MB / 1.828 GB, free: 76.67 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.006716/5.827, allocations: 5.202 MB / 1.833 GB, free: 73.28 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001944/5.829, allocations: 256.6 kB / 1.834 GB, free: 73.28 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.001223/5.83, allocations: 0.9014 MB / 1.835 GB, free: 72.95 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01775/5.848, allocations: 10.34 MB / 1.845 GB, free: 72.91 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01887/5.867, allocations: 12.6 MB / 1.857 GB, free: 70.95 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0327/5.9, allocations: 24.17 MB / 1.881 GB, free: 68.84 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001015/5.9, allocations: 13.59 kB / 1.881 GB, free: 68.84 MB / 0.573 GB Notification: Performance of matching and sorting (n=1867) (initialization): time 0.05519/5.955, allocations: 31.69 MB / 1.912 GB, free: 59.11 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 7.458e-05/5.955, allocations: 38.34 kB / 1.912 GB, free: 59.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001206/5.955, allocations: 49.31 kB / 1.912 GB, free: 59.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02556/5.981, allocations: 14.75 MB / 1.926 GB, free: 55.11 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009166/5.99, allocations: 2.087 MB / 1.928 GB, free: 55.05 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04137/6.032, allocations: 35.85 MB / 1.963 GB, free: 33.83 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009863/6.042, allocations: 0.6323 MB / 1.964 GB, free: 33.62 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003004/6.045, allocations: 0.527 MB / 1.964 GB, free: 33.5 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 230 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1060): * Single equations (assignments): 1020 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * 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: 5 {(1,100.0%) 1,(1,100.0%) 8,(3,88.9%) 25,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,66 432} Notification: Performance of prepare postOptimizeDAE: time 0.01692/6.062, allocations: 7.895 MB / 1.972 GB, free: 29.03 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004745/6.066, allocations: 1.005 MB / 1.973 GB, free: 28.02 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4038/6.47, allocations: 32.59 MB / 2.005 GB, free: 70.65 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005212/6.471, allocations: 386.6 kB / 2.005 GB, free: 70.65 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.163e-05/6.471, allocations: 16.88 kB / 2.005 GB, free: 70.65 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000287/6.471, allocations: 67.02 kB / 2.005 GB, free: 70.65 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1223/6.593, allocations: 60.67 MB / 2.064 GB, free: 68.93 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002071/6.594, allocations: 2.312 kB / 2.064 GB, free: 68.93 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007849/6.601, allocations: 1.627 MB / 2.066 GB, free: 68.93 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02855/6.63, allocations: 14.89 MB / 2.081 GB, free: 68.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003888/6.634, allocations: 340.6 kB / 2.081 GB, free: 68.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06204/6.696, allocations: 40.09 MB / 2.12 GB, free: 49.49 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/6.696, allocations: 6.281 kB / 2.12 GB, free: 49.49 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08792/6.784, allocations: 47.4 MB / 2.166 GB, free: 28.82 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01039/6.794, allocations: 3.497 MB / 2.17 GB, free: 27.46 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004904/6.799, allocations: 250.7 kB / 2.17 GB, free: 27.28 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009884/6.809, allocations: 0.6229 MB / 2.171 GB, free: 27.11 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004923/6.814, allocations: 1.174 MB / 2.172 GB, free: 26.87 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003369/6.818, allocations: 428.7 kB / 2.172 GB, free: 26.76 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00902/6.827, allocations: 4.6 MB / 2.177 GB, free: 25.09 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.31e-07/6.827, allocations: 0 / 2.177 GB, free: 25.09 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01979/6.847, allocations: 3.908 MB / 2.18 GB, free: 23.55 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y,booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,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 (822): * Single equations (assignments): 781 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(2,100.0%) 26,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,66 432} Notification: Performance of Backend phase and start with SimCode phase: time 0.004101/6.851, allocations: 0.8013 MB / 2.181 GB, free: 23 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04749/6.898, allocations: 26.5 MB / 2.207 GB, free: 84 kB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/6.898, allocations: 5.859 kB / 2.207 GB, free: 80 kB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.4172/7.315, allocations: 17.41 MB / 2.224 GB, free: 95.27 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02818/7.344, allocations: 2.504 MB / 2.227 GB, free: 95.24 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1224/7.466, allocations: 53.78 MB / 2.279 GB, free: 77.33 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03933/7.505, allocations: 13.55 MB / 2.292 GB, free: 75.93 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01841/7.524, allocations: 3.1 MB / 2.295 GB, free: 75.6 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005998/7.53, allocations: 0.6402 MB / 2.296 GB, free: 75.59 MB / 0.5886 GB Notification: Performance of SimCode: time 1.523e-06/7.53, allocations: 0 / 2.296 GB, free: 75.59 MB / 0.5886 GB Notification: Performance of Templates: time 0.9473/8.477, allocations: 285.5 MB / 2.575 GB, free: 45.32 MB / 0.5886 GB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.makefile (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -nls=newton -s=dassl -lv=LOG_STATS -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe 2>&1)