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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009297/0.0009297, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.055/1.055, allocations: 177.1 MB / 200.5 MB, free: 5.816 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 164.6 kB / 257 MB, free: 13.19 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02342/0.02342, allocations: 6.666 MB / 320.1 MB, free: 26.59 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -jacobian= since the simulation runtime does not accept it Running command: translateModel(HanserModelica.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Transformer") translateModel(HanserModelica.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 395.6 MB, free: 14.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.323e-05/3.589e-05, allocations: 6.25 kB / 395.7 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Transformer): time 0.1942/0.1943, allocations: 48.17 MB / 443.8 MB, free: 56.5 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02702/0.2213, allocations: 13.07 MB / 456.9 MB, free: 43.48 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.011/0.2323, allocations: 457.6 kB / 457.3 MB, free: 43.04 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01806/0.2504, allocations: 14.64 MB / 472 MB, free: 28.35 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01635/0.2667, allocations: 5.716 MB / 477.7 MB, free: 22.6 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008412/0.2751, allocations: 3.372 MB / 481.1 MB, free: 19.25 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.02486/0.3, allocations: 25.37 MB / 0.4946 GB, free: 9.809 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04956/0.3495, allocations: 30.12 MB / 0.524 GB, free: 11.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0356/0.3851, allocations: 19.26 MB / 0.5428 GB, free: 8.246 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3372/0.7224, allocations: 13.44 MB / 0.5559 GB, free: 43.13 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01081/0.7332, allocations: 3.623 MB / 0.5595 GB, free: 43.13 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01276/0.7459, allocations: 4.13 MB / 0.5635 GB, free: 43.13 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 0.009854/0.7558, allocations: 7.588 MB / 0.5709 GB, free: 43.13 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02432/0.7801, allocations: 9.42 MB / 0.5801 GB, free: 43.13 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0342/0.8143, allocations: 23 MB / 0.6026 GB, free: 34.83 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/0.8143, allocations: 3.141 kB / 0.6026 GB, free: 34.83 MB / 394.8 MB Notification: Performance of FrontEnd: time 2.685e-06/0.8143, allocations: 3.438 kB / 0.6026 GB, free: 34.83 MB / 394.8 MB Notification: Performance of Transformations before backend: time 0.001481/0.8158, allocations: 0 / 0.6026 GB, free: 34.83 MB / 394.8 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.05839/0.8742, allocations: 29.68 MB / 0.6315 GB, free: 16.29 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.8743, allocations: 12.03 kB / 0.6316 GB, free: 16.28 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04686/0.9211, allocations: 17.21 MB / 0.6484 GB, free: 15.21 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02748/0.9486, allocations: 14.39 MB / 0.6624 GB, free: 1.469 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001627/0.9502, allocations: 1.579 MB / 0.664 GB, free: 15.9 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007525/0.9577, allocations: 2.079 MB / 0.666 GB, free: 13.85 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05608/1.014, allocations: 18.62 MB / 0.6842 GB, free: 11 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006265/1.014, allocations: 31.84 kB / 0.6842 GB, free: 10.96 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004295/1.019, allocations: 0.8557 MB / 0.685 GB, free: 10.13 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008614/1.02, allocations: 1.153 MB / 0.6862 GB, free: 8.977 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03586/1.055, allocations: 9.961 MB / 0.6959 GB, free: 15.01 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.316/1.371, allocations: 84.21 MB / 0.7781 GB, free: 71.46 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02073/1.392, allocations: 17.35 MB / 0.7951 GB, free: 66.92 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007145/1.399, allocations: 4.336 MB / 0.7993 GB, free: 65.29 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02153/1.421, allocations: 14.05 MB / 0.813 GB, free: 51.93 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.505e-05/1.421, allocations: 132.7 kB / 0.8131 GB, free: 51.79 MB / 458.8 MB Notification: Performance of pre-optimization done (n=894): time 1.02e-05/1.421, allocations: 3.469 kB / 0.8132 GB, free: 51.79 MB / 458.8 MB Notification: Performance of matching and sorting (n=906): time 0.03557/1.457, allocations: 21.95 MB / 0.8346 GB, free: 30.06 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/1.457, allocations: 172.5 kB / 0.8347 GB, free: 29.88 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007938/1.465, allocations: 6.921 MB / 0.8415 GB, free: 22.97 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001475/1.466, allocations: 173.7 kB / 0.8417 GB, free: 22.79 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002981/1.469, allocations: 9.43 MB / 0.8509 GB, free: 13.33 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002487/1.471, allocations: 3.295 MB / 0.8541 GB, free: 10.08 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00243/1.474, allocations: 2.478 MB / 0.8565 GB, free: 7.586 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 4.164e-05/1.474, allocations: 480.8 kB / 0.857 GB, free: 7.113 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003259/1.477, allocations: 1.884 MB / 0.8588 GB, free: 5.23 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005299/1.482, allocations: 7.479 MB / 0.8661 GB, free: 11.55 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01138/1.494, allocations: 10.46 MB / 0.8763 GB, free: 15.29 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001221/1.494, allocations: 32 kB / 0.8764 GB, free: 15.26 MB / 490.8 MB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.01913/1.513, allocations: 11.14 MB / 0.8872 GB, free: 4.898 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.877e-05/1.513, allocations: 56 kB / 0.8873 GB, free: 4.844 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001282/1.513, allocations: 120.2 kB / 0.8874 GB, free: 4.727 MB / 490.8 MB 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.001699/1.515, allocations: 0.7851 MB / 0.8882 GB, free: 3.922 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005476/1.521, allocations: 2.423 MB / 0.8906 GB, free: 1.66 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1695/1.69, allocations: 11.93 MB / 0.9022 GB, free: 101.5 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006484/1.697, allocations: 0.5932 MB / 0.9028 GB, free: 101.5 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002051/1.699, allocations: 0.5274 MB / 0.9033 GB, free: 101.5 MB / 490.8 MB 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.006811/1.705, allocations: 0.8838 MB / 0.9042 GB, free: 101.4 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002616/1.708, allocations: 1.172 MB / 0.9053 GB, free: 101.4 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01524/1.723, allocations: 9.013 MB / 0.9141 GB, free: 100.7 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.432e-05/1.723, allocations: 91.31 kB / 0.9142 GB, free: 100.7 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001175/1.723, allocations: 48.38 kB / 0.9142 GB, free: 100.7 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-05/1.723, allocations: 48.94 kB / 0.9143 GB, free: 100.7 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04149/1.765, allocations: 24.11 MB / 0.9378 GB, free: 99.18 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.288e-05/1.765, allocations: 7.656 kB / 0.9378 GB, free: 99.18 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003429/1.768, allocations: 1.439 MB / 0.9392 GB, free: 99.18 MB / 490.8 MB 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.002006/1.77, allocations: 0.8296 MB / 0.9401 GB, free: 99.07 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000878/1.771, allocations: 222.7 kB / 0.9403 GB, free: 99.06 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007353/1.779, allocations: 16.68 MB / 0.9566 GB, free: 85.85 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.779, allocations: 15.06 kB / 0.9566 GB, free: 85.85 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01829/1.797, allocations: 11.16 MB / 0.9675 GB, free: 84.41 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003582/1.801, allocations: 1.988 MB / 0.9694 GB, free: 84.4 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001341/1.802, allocations: 171.6 kB / 0.9696 GB, free: 84.4 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002975/1.805, allocations: 486.6 kB / 0.97 GB, free: 84.4 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001221/1.806, allocations: 0.8462 MB / 0.9709 GB, free: 84.38 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000425/1.807, allocations: 270.1 kB / 0.9711 GB, free: 84.38 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.004761/1.811, allocations: 3.292 MB / 0.9743 GB, free: 82.64 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.9e-07/1.811, allocations: 0 / 0.9743 GB, free: 82.64 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.009832/1.821, allocations: 3.463 MB / 0.9777 GB, free: 79.47 MB / 490.8 MB 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,8,100.0%), (1,13,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.001696/1.823, allocations: 474.8 kB / 0.9782 GB, free: 79.13 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01251/1.835, allocations: 8.876 MB / 0.9868 GB, free: 71.61 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/1.835, allocations: 4 kB / 0.9868 GB, free: 71.61 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007085/1.842, allocations: 5.508 MB / 0.9922 GB, free: 66.82 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009626/1.852, allocations: 2.253 MB / 0.9944 GB, free: 65.02 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04859/1.901, allocations: 31.99 MB / 1.026 GB, free: 33.05 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0076/1.908, allocations: 5.785 MB / 1.031 GB, free: 27.22 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.006774/1.915, allocations: 3.28 MB / 1.035 GB, free: 23.93 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00172/1.917, allocations: 0.6722 MB / 1.035 GB, free: 23.26 MB / 490.8 MB Notification: Performance of SimCode: time 1.893e-06/1.917, allocations: 0 / 1.035 GB, free: 23.26 MB / 490.8 MB Notification: Performance of Templates: time 0.3107/2.227, allocations: 129.3 MB / 1.161 GB, free: 87.24 MB / 0.4949 GB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.makefile [Timeout 660] (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=240 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.950691926991567]