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.001338/0.001338, allocations: 182.8 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04011/0.04011, allocations: 8.795 MB / 25.53 MB, free: 3.754 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.323/1.323, allocations: 222.9 MB / 251.3 MB, free: 7.371 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.0009409/0.0009409, allocations: 93.08 kB / 303.6 MB, free: 14.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 64.16 kB / 369.4 MB, free: 52.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1049, allocations: 51.56 MB / 421 MB, free: 17.53 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Transformer): time 0.03911/0.144, allocations: 48.58 MB / 469.5 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02561/0.1697, allocations: 12.75 MB / 482.3 MB, free: 3.945 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01072/0.1804, allocations: 358.8 kB / 482.6 MB, free: 3.594 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02825/0.2087, allocations: 13 MB / 495.6 MB, free: 6.57 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01974/0.2285, allocations: 4.968 MB / 0.4889 GB, free: 1.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.2251/0.4536, allocations: 3.008 MB / 0.4918 GB, free: 4.633 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.03465/0.4882, allocations: 25.04 MB / 0.5163 GB, free: 4.512 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06545/0.5537, allocations: 38.67 MB / 0.554 GB, free: 9.992 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02408/0.5779, allocations: 10.72 MB / 0.5645 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02459/0.6025, allocations: 13.17 MB / 0.5774 GB, free: 4.566 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.009463/0.612, allocations: 2.293 MB / 0.5796 GB, free: 2.273 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01325/0.6253, allocations: 2.797 MB / 0.5823 GB, free: 15.55 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009662/0.635, allocations: 5.892 MB / 0.5881 GB, free: 9.82 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.02552/0.6605, allocations: 12.39 MB / 0.6002 GB, free: 13.69 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.05279/0.7133, allocations: 47.48 MB / 0.6466 GB, free: 14.97 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.7134, allocations: 0 / 0.6466 GB, free: 14.97 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.7134, allocations: 4 kB / 0.6466 GB, free: 14.97 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.001439/0.7148, allocations: 4 kB / 0.6466 GB, free: 14.96 MB / 490.7 MB 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.08194/0.7968, allocations: 27.66 MB / 0.6736 GB, free: 3.375 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.7969, allocations: 12.02 kB / 0.6736 GB, free: 3.363 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4822/1.279, allocations: 13.88 MB / 0.6871 GB, free: 154 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.037/1.316, allocations: 14.54 MB / 0.7013 GB, free: 146.8 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00143/1.318, allocations: 1.576 MB / 0.7029 GB, free: 146.1 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008962/1.327, allocations: 2.075 MB / 0.7049 GB, free: 145.4 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07736/1.404, allocations: 34.72 MB / 0.7388 GB, free: 118 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007418/1.405, allocations: 31.73 kB / 0.7388 GB, free: 118 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005433/1.41, allocations: 0.8658 MB / 0.7397 GB, free: 117.1 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008042/1.411, allocations: 1.149 MB / 0.7408 GB, free: 116 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05548/1.466, allocations: 32.31 MB / 0.7724 GB, free: 83.65 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5648/2.031, allocations: 107.6 MB / 0.8774 GB, free: 116.1 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04/2.071, allocations: 50.84 MB / 0.9271 GB, free: 81.52 MB / 0.5106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01408/2.085, allocations: 9.768 MB / 0.9366 GB, free: 81.35 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04381/2.129, allocations: 22.61 MB / 0.9587 GB, free: 77.36 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001011/2.129, allocations: 134.3 kB / 0.9588 GB, free: 77.25 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=894): time 1.239e-05/2.129, allocations: 0 / 0.9588 GB, free: 77.25 MB / 0.5106 GB Notification: Performance of matching and sorting (n=906): time 0.07056/2.2, allocations: 39.48 MB / 0.9974 GB, free: 54.02 MB / 0.5106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.365e-05/2.2, allocations: 168.5 kB / 0.9976 GB, free: 53.84 MB / 0.5106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01147/2.212, allocations: 8.348 MB / 1.006 GB, free: 45.5 MB / 0.5106 GB Notification: Performance of collectPreVariables (initialization): time 0.001621/2.213, allocations: 173.7 kB / 1.006 GB, free: 45.32 MB / 0.5106 GB Notification: Performance of collectInitialEqns (initialization): time 0.003925/2.217, allocations: 8.682 MB / 1.014 GB, free: 36.59 MB / 0.5106 GB Notification: Performance of collectInitialBindings (initialization): time 0.00297/2.22, allocations: 3.053 MB / 1.017 GB, free: 33.56 MB / 0.5106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003164/2.223, allocations: 2.212 MB / 1.019 GB, free: 31.34 MB / 0.5106 GB Notification: Performance of setup shared object (initialization): time 4.61e-05/2.223, allocations: 301.1 kB / 1.02 GB, free: 31.04 MB / 0.5106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007649/2.231, allocations: 6.241 MB / 1.026 GB, free: 24.79 MB / 0.5106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01129/2.242, allocations: 9.962 MB / 1.036 GB, free: 13.19 MB / 0.5106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02065/2.263, allocations: 17.23 MB / 1.052 GB, free: 10.27 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001125/2.263, allocations: 36 kB / 1.052 GB, free: 10.24 MB / 0.5263 GB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.04241/2.306, allocations: 20.3 MB / 1.072 GB, free: 5.828 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002285/2.306, allocations: 56 kB / 1.072 GB, free: 5.773 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002978/2.306, allocations: 116 kB / 1.072 GB, free: 5.66 MB / 0.5419 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=. Notification: Performance of postOpt tearingSystem (initialization): time 0.00296/2.309, allocations: 0.9358 MB / 1.073 GB, free: 4.711 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01035/2.32, allocations: 2.41 MB / 1.076 GB, free: 2.297 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2429/2.563, allocations: 11.53 MB / 1.087 GB, free: 159.1 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009893/2.572, allocations: 0.6034 MB / 1.088 GB, free: 159.1 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002878/2.575, allocations: 0.5144 MB / 1.088 GB, free: 159.1 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 531 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],booleanStep2QS[3].y,booleanStep2QS[2].y,booleanStep2QS[1].y,booleanStep1QS[3].y,booleanStep1QS[2].y,booleanStep1QS[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1230): * Single equations (assignments): 1223 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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%), (204,1.3%)} * 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): 5 systems {(3,25,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01453/2.59, allocations: 7.927 MB / 1.096 GB, free: 156 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002471/2.592, allocations: 0.9029 MB / 1.097 GB, free: 156 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02807/2.62, allocations: 17.03 MB / 1.113 GB, free: 149.2 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.384e-05/2.621, allocations: 94.78 kB / 1.113 GB, free: 149.2 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.42e-05/2.621, allocations: 39.38 kB / 1.113 GB, free: 149.2 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001595/2.621, allocations: 42.84 kB / 1.113 GB, free: 149.2 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06598/2.687, allocations: 35.95 MB / 1.149 GB, free: 134.8 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.875e-05/2.687, allocations: 11.28 kB / 1.149 GB, free: 134.8 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006391/2.693, allocations: 1.427 MB / 1.15 GB, free: 134.7 MB / 0.5419 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=. Notification: Performance of postOpt tearingSystem (simulation): time 0.002976/2.696, allocations: 0.9836 MB / 1.151 GB, free: 134.4 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00158/2.698, allocations: 204.8 kB / 1.151 GB, free: 134.3 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01151/2.709, allocations: 15.74 MB / 1.167 GB, free: 121.2 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/2.709, allocations: 6.906 kB / 1.167 GB, free: 121.2 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4332/3.143, allocations: 123.3 MB / 1.287 GB, free: 141.9 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006665/3.149, allocations: 2.241 MB / 1.289 GB, free: 141.8 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002517/3.152, allocations: 173.8 kB / 1.289 GB, free: 141.8 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006213/3.158, allocations: 497 kB / 1.29 GB, free: 141.8 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002031/3.16, allocations: 0.7945 MB / 1.291 GB, free: 141.8 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008334/3.161, allocations: 257.1 kB / 1.291 GB, free: 141.8 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.01079/3.172, allocations: 5.688 MB / 1.296 GB, free: 141.5 MB / 0.5419 GB Notification: Performance of sort global known variables: time 3.11e-07/3.172, allocations: 0 / 1.296 GB, free: 141.5 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.01839/3.19, allocations: 4.499 MB / 1.301 GB, free: 141.5 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 12 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,quadraticLoadTorqueQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,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,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 (703): * Single equations (assignments): 695 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(204,1.3%)} * 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): 7 systems {(1,1,100.0%), (1,8,100.0%), (3,25,88.9%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002219/3.193, allocations: 479.7 kB / 1.301 GB, free: 141.4 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.02197/3.215, allocations: 16.07 MB / 1.317 GB, free: 138.4 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/3.215, allocations: 6.047 kB / 1.317 GB, free: 138.4 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.01209/3.227, allocations: 8.758 MB / 1.325 GB, free: 134.6 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01295/3.24, allocations: 2.411 MB / 1.328 GB, free: 133.8 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07935/3.319, allocations: 56.28 MB / 1.383 GB, free: 92.75 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02291/3.342, allocations: 13.44 MB / 1.396 GB, free: 82.54 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.01482/3.357, allocations: 4.014 MB / 1.4 GB, free: 78.8 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003908/3.361, allocations: 0.6751 MB / 1.4 GB, free: 78.12 MB / 0.5419 GB Notification: Performance of SimCode: time 7.11e-07/3.361, allocations: 0 / 1.4 GB, free: 78.12 MB / 0.5419 GB Notification: Performance of Templates: time 0.4987/3.859, allocations: 183.1 MB / 1.579 GB, free: 93.98 MB / 0.5575 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)