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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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) 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 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.06045/0.06045, allocations: 8.7 MB / 21.96 MB, free: 3.367 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 221.4 MB / 246 MB, free: 3.543 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008041/0.0008042, allocations: 87.17 kB / 299.1 MB, free: 2.988 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.133e-05/3.142e-05, allocations: 4 kB / 362 MB, free: 4.035 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2816, allocations: 52.54 MB / 414.5 MB, free: 22.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5133/0.7949, allocations: 164.4 MB / 0.5653 GB, free: 23.04 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.7952, allocations: 81.16 kB / 0.5654 GB, free: 23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.623/4.418, allocations: 0.8625 GB / 1.428 GB, free: 17.57 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.944e-06/4.418, allocations: 0 / 1.428 GB, free: 17.57 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.001588/4.42, allocations: 479.9 kB / 1.428 GB, free: 17.57 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5818 * Number of variables: 5818 Notification: Performance of Generate backend data structure: time 0.081/4.501, allocations: 19.51 MB / 1.447 GB, free: 14.84 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/4.501, allocations: 10.84 kB / 1.447 GB, free: 14.84 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09314/4.594, allocations: 9.682 MB / 1.457 GB, free: 13.72 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0528/4.647, allocations: 16.23 MB / 1.473 GB, free: 11.98 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001827/4.649, allocations: 1.521 MB / 1.474 GB, free: 11.94 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008877/4.658, allocations: 1.999 MB / 1.476 GB, free: 11.93 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09345/4.751, allocations: 33.79 MB / 1.509 GB, free: 9.539 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00137/4.753, allocations: 26.69 kB / 1.509 GB, free: 9.531 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00821/4.761, allocations: 0.8607 MB / 1.51 GB, free: 9.531 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001963/4.763, allocations: 1.481 MB / 1.512 GB, free: 9.484 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06346/4.826, allocations: 29.55 MB / 1.54 GB, free: 9.297 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6367/5.463, allocations: 108.4 MB / 1.646 GB, free: 47.04 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04129/5.504, allocations: 50.45 MB / 1.696 GB, free: 29.11 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01539/5.52, allocations: 9.576 MB / 1.705 GB, free: 28.97 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05069/5.571, allocations: 22.59 MB / 1.727 GB, free: 28.05 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001/5.571, allocations: 135 kB / 1.727 GB, free: 28 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=892): time 1.278e-05/5.571, allocations: 0 / 1.727 GB, free: 28 MB / 0.5887 GB Notification: Performance of matching and sorting (n=904): time 0.06928/5.64, allocations: 32.67 MB / 1.759 GB, free: 21.96 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/5.64, allocations: 170.3 kB / 1.759 GB, free: 21.86 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01809/5.658, allocations: 7.34 MB / 1.766 GB, free: 21.26 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.00216/5.661, allocations: 174.8 kB / 1.766 GB, free: 21.23 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.006034/5.667, allocations: 8.692 MB / 1.775 GB, free: 16.79 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.004073/5.671, allocations: 3.04 MB / 1.778 GB, free: 14.86 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001787/5.672, allocations: 228.8 kB / 1.778 GB, free: 14.86 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.0009164/5.673, allocations: 0.779 MB / 1.779 GB, free: 14.53 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01049/5.684, allocations: 6.003 MB / 1.785 GB, free: 14.5 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01388/5.698, allocations: 9.601 MB / 1.794 GB, free: 10.3 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0134/5.711, allocations: 8.088 MB / 1.802 GB, free: 10.11 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000213/5.712, allocations: 37.72 kB / 1.802 GB, free: 10.11 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1468) (initialization): time 0.03899/5.751, allocations: 19.74 MB / 1.821 GB, free: 8.465 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/5.751, allocations: 53.03 kB / 1.821 GB, free: 8.465 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002211/5.751, allocations: 116.3 kB / 1.821 GB, free: 8.465 MB / 0.5887 GB Notification: Tearing is skipped for strong component 1 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.002122/5.753, allocations: 0.8137 MB / 1.822 GB, free: 8.242 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01112/5.764, allocations: 2.373 MB / 1.825 GB, free: 7.059 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01322/5.777, allocations: 11.49 MB / 1.836 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01217/5.79, allocations: 0.6063 MB / 1.836 GB, free: 11.35 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003298/5.793, allocations: 0.507 MB / 1.837 GB, free: 10.86 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1214): * Single equations (assignments): 1207 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(204,1.3%)} * 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004807/5.798, allocations: 0.7892 MB / 1.838 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003198/5.801, allocations: 0.9054 MB / 1.839 GB, free: 9.309 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5137/6.315, allocations: 17.7 MB / 1.856 GB, free: 83.05 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001134/6.315, allocations: 93 kB / 1.856 GB, free: 83.05 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.431e-05/6.315, allocations: 42.97 kB / 1.856 GB, free: 83.05 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002233/6.315, allocations: 44.12 kB / 1.856 GB, free: 83.05 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08015/6.395, allocations: 35.55 MB / 1.891 GB, free: 81.33 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.3e-05/6.395, allocations: 6.375 kB / 1.891 GB, free: 81.33 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006807/6.402, allocations: 1.414 MB / 1.892 GB, free: 81.33 MB / 0.6043 GB Notification: Tearing is skipped for strong component 14 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.002486/6.405, allocations: 0.8445 MB / 1.893 GB, free: 81.27 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002355/6.407, allocations: 202.1 kB / 1.893 GB, free: 81.27 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01335/6.421, allocations: 15.67 MB / 1.908 GB, free: 72.17 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/6.421, allocations: 9.156 kB / 1.908 GB, free: 72.17 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04329/6.464, allocations: 25.4 MB / 1.933 GB, free: 69.52 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008491/6.472, allocations: 2.248 MB / 1.935 GB, free: 69.43 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004041/6.477, allocations: 183.7 kB / 1.936 GB, free: 69.43 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007797/6.484, allocations: 0.5064 MB / 1.936 GB, free: 69.43 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00263/6.487, allocations: 0.7887 MB / 1.937 GB, free: 69.41 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001578/6.489, allocations: 259.5 kB / 1.937 GB, free: 69.41 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.01278/6.501, allocations: 5.545 MB / 1.943 GB, free: 69.12 MB / 0.6043 GB Notification: Performance of sort global known variables: time 9.32e-07/6.501, allocations: 0.6562 kB / 1.943 GB, free: 69.12 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.02101/6.522, allocations: 3.514 MB / 1.946 GB, free: 69.12 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (701): * Single equations (assignments): 693 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(204,1.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 26,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003953/6.526, allocations: 0.8857 MB / 1.947 GB, free: 68.96 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.03062/6.557, allocations: 15.62 MB / 1.962 GB, free: 67.97 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.05e-05/6.557, allocations: 7.281 kB / 1.962 GB, free: 67.97 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.01674/6.574, allocations: 8.521 MB / 1.97 GB, free: 66.97 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0167/6.591, allocations: 2.334 MB / 1.973 GB, free: 66.94 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08155/6.672, allocations: 32.65 MB / 2.005 GB, free: 55.83 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0247/6.697, allocations: 13.45 MB / 2.018 GB, free: 48.93 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 0.01646/6.713, allocations: 3.968 MB / 2.022 GB, free: 46.34 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003641/6.717, allocations: 0.655 MB / 2.022 GB, free: 45.71 MB / 0.6043 GB Notification: Performance of SimCode: time 1.433e-06/6.717, allocations: 0 / 2.022 GB, free: 45.71 MB / 0.6043 GB Notification: Performance of Templates: time 0.7495/7.467, allocations: 152.7 MB / 2.171 GB, free: 59.36 MB / 0.6043 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 -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe 2>&1)