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.001397/0.001397, allocations: 169 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05437/0.05437, allocations: 8.716 MB / 16.79 MB, free: 3.387 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 221.5 MB / 240.9 MB, free: 13.2 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.001065/0.001065, allocations: 94.8 kB / 293.9 MB, free: 7.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.97e-05/1.969e-05, allocations: 0 / 354.6 MB, free: 15.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1328, allocations: 52.55 MB / 407.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4471/0.58, allocations: 163.7 MB / 0.5575 GB, free: 2.879 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/0.5802, allocations: 71.97 kB / 0.5575 GB, free: 2.809 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487/4.067, allocations: 0.8533 GB / 1.411 GB, free: 30.66 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.873e-06/4.067, allocations: 0 / 1.411 GB, free: 30.66 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.002474/4.07, allocations: 482.7 kB / 1.411 GB, free: 30.59 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: 5818 * Number of variables: 5818 Notification: Performance of Generate backend data structure: time 0.07592/4.146, allocations: 19.48 MB / 1.43 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/4.146, allocations: 7.25 kB / 1.43 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05256/4.198, allocations: 9.667 MB / 1.44 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04339/4.242, allocations: 16.22 MB / 1.456 GB, free: 16.69 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001804/4.244, allocations: 0.6569 MB / 1.456 GB, free: 16.03 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01/4.254, allocations: 1.174 MB / 1.457 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06839/4.322, allocations: 27.47 MB / 1.484 GB, free: 6.387 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5262/4.848, allocations: 30.46 MB / 1.514 GB, free: 40.37 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001325/4.85, allocations: 33.75 kB / 1.514 GB, free: 40.37 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008255/4.858, allocations: 15.41 kB / 1.514 GB, free: 40.37 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002293/4.86, allocations: 1.487 MB / 1.515 GB, free: 40.32 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2522/5.113, allocations: 105.2 MB / 1.618 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04794/5.161, allocations: 49.79 MB / 1.667 GB, free: 14.37 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01923/5.18, allocations: 9.473 MB / 1.676 GB, free: 10.69 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06047/5.24, allocations: 22.96 MB / 1.698 GB, free: 0.5195 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001293/5.241, allocations: 138.7 kB / 1.699 GB, free: 416 kB / 0.573 GB Notification: Performance of pre-optimization done (n=892): time 1.235e-05/5.241, allocations: 0 / 1.699 GB, free: 416 kB / 0.573 GB Notification: Performance of matching and sorting (n=904): time 0.6467/5.887, allocations: 37.51 MB / 1.735 GB, free: 94.42 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001583/5.888, allocations: 171.5 kB / 1.735 GB, free: 94.31 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02035/5.908, allocations: 6.199 MB / 1.741 GB, free: 93.8 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.002206/5.91, allocations: 28.55 kB / 1.742 GB, free: 93.77 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.006974/5.917, allocations: 8.698 MB / 1.75 GB, free: 89.17 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004597/5.922, allocations: 2.92 MB / 1.753 GB, free: 87.24 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002613/5.925, allocations: 0 / 1.753 GB, free: 87.24 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.001447/5.926, allocations: 0.7718 MB / 1.754 GB, free: 86.91 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01085/5.937, allocations: 6.095 MB / 1.76 GB, free: 86.89 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01701/5.954, allocations: 9.626 MB / 1.769 GB, free: 82.71 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02045/5.974, allocations: 9.874 MB / 1.779 GB, free: 82.6 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002831/5.975, allocations: 33.34 kB / 1.779 GB, free: 82.6 MB / 0.573 GB Notification: Performance of matching and sorting (n=1468) (initialization): time 0.05038/6.025, allocations: 20.78 MB / 1.799 GB, free: 81.57 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002361/6.025, allocations: 53.03 kB / 1.799 GB, free: 81.57 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002726/6.026, allocations: 113.5 kB / 1.799 GB, free: 81.57 MB / 0.573 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.00227/6.028, allocations: 0.7822 MB / 1.8 GB, free: 81.51 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01112/6.039, allocations: 2.452 MB / 1.802 GB, free: 81.51 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009533/6.049, allocations: 11.08 MB / 1.813 GB, free: 75.21 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01237/6.061, allocations: 466.9 kB / 1.813 GB, free: 75.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004048/6.065, allocations: 0.506 MB / 1.814 GB, free: 75.18 MB / 0.573 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,(2,100.0%) 26,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005346/6.071, allocations: 436.8 kB / 1.814 GB, free: 74.96 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003344/6.074, allocations: 0.8381 MB / 1.815 GB, free: 74.52 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03292/6.107, allocations: 17.92 MB / 1.833 GB, free: 67.91 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.293e-05/6.107, allocations: 94.25 kB / 1.833 GB, free: 67.91 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.21e-05/6.107, allocations: 44.38 kB / 1.833 GB, free: 67.91 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001431/6.107, allocations: 43.55 kB / 1.833 GB, free: 67.91 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07859/6.186, allocations: 34.45 MB / 1.867 GB, free: 43.12 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.479e-05/6.186, allocations: 8 kB / 1.867 GB, free: 43.12 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007586/6.193, allocations: 1.489 MB / 1.868 GB, free: 41.99 MB / 0.573 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.002516/6.196, allocations: 0.8196 MB / 1.869 GB, free: 41.32 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002189/6.198, allocations: 73.11 kB / 1.869 GB, free: 41.26 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01195/6.21, allocations: 15.12 MB / 1.884 GB, free: 26.47 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.156e-05/6.21, allocations: 11.28 kB / 1.884 GB, free: 26.46 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5253/6.736, allocations: 28.44 MB / 1.911 GB, free: 83.78 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007916/6.743, allocations: 2.232 MB / 1.914 GB, free: 83.68 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004058/6.748, allocations: 28.77 kB / 1.914 GB, free: 83.68 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009561/6.757, allocations: 439.6 kB / 1.914 GB, free: 83.68 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002954/6.76, allocations: 0.7883 MB / 1.915 GB, free: 83.68 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001147/6.761, allocations: 261.2 kB / 1.915 GB, free: 83.68 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01014/6.771, allocations: 4.593 MB / 1.92 GB, free: 83.46 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.21e-07/6.772, allocations: 0.75 kB / 1.92 GB, free: 83.46 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01809/6.79, allocations: 3.131 MB / 1.923 GB, free: 83.46 MB / 0.573 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.00276/6.792, allocations: 0.5734 MB / 1.923 GB, free: 83.36 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0295/6.822, allocations: 15.59 MB / 1.938 GB, free: 82.47 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.485e-05/6.822, allocations: 4.281 kB / 1.938 GB, free: 82.47 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01585/6.838, allocations: 8.57 MB / 1.947 GB, free: 81.55 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01338/6.851, allocations: 1.757 MB / 1.948 GB, free: 81.52 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09026/6.942, allocations: 32.52 MB / 1.98 GB, free: 75.64 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03131/6.973, allocations: 13.45 MB / 1.993 GB, free: 74.27 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01723/6.99, allocations: 3.901 MB / 1.997 GB, free: 73.94 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004875/6.995, allocations: 0.6175 MB / 1.998 GB, free: 73.93 MB / 0.573 GB Notification: Performance of SimCode: time 1.072e-06/6.995, allocations: 0 / 1.998 GB, free: 73.93 MB / 0.573 GB Notification: Performance of Templates: time 0.715/7.71, allocations: 129.7 MB / 2.124 GB, free: 103.5 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 -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe 2>&1)