Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.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.001329/0.001329, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.531/1.531, allocations: 230.6 MB / 253.4 MB, free: 14.3 MB / 206.1 MB " [Timeout remaining time 178] 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.001843/0.001843, allocations: 223 kB / 310 MB, free: 3.129 MB / 238.1 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.04335/0.04335, allocations: 8.926 MB / 375.3 MB, free: 6.574 MB / 302.1 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) Running command: translateModel(HanserModelica.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter") translateModel(HanserModelica.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter") [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002544/0.002544, allocations: 85.75 kB / 0.4904 GB, free: 44.24 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0926/0.09515, allocations: 55.6 MB / 0.5447 GB, free: 4.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_Inverter): time 0.0178/0.1129, allocations: 12.27 MB / 0.5567 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01026/0.1232, allocations: 4.446 MB / 0.561 GB, free: 3.746 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002715/0.1259, allocations: 111.3 kB / 0.5611 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003517/0.1294, allocations: 1.037 MB / 0.5621 GB, free: 2.594 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00486/0.1343, allocations: 1.297 MB / 0.5634 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002871/0.1372, allocations: 0.8876 MB / 0.5643 GB, free: 412 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2578/0.395, allocations: 3.847 MB / 0.568 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002892/0.3979, allocations: 1.802 MB / 0.5698 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003252/0.4011, allocations: 1.841 MB / 0.5716 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004357/0.4055, allocations: 2.003 MB / 0.5735 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001584/0.407, allocations: 496.7 kB / 0.574 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00276/0.4098, allocations: 0.6921 MB / 0.5747 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001832/0.4116, allocations: 1.079 MB / 0.5757 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003863/0.4155, allocations: 1.624 MB / 0.5773 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.4259, allocations: 6.486 MB / 0.5836 GB, free: 7.418 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.4259, allocations: 2.031 kB / 0.5837 GB, free: 7.418 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4259, allocations: 0 / 0.5837 GB, free: 7.418 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002451/0.4261, allocations: 2.906 kB / 0.5837 GB, free: 7.418 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.01371/0.4398, allocations: 4.214 MB / 0.5878 GB, free: 5.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.4399, allocations: 18.14 kB / 0.5878 GB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004271/0.4442, allocations: 0.7517 MB / 0.5885 GB, free: 4.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005624/0.4498, allocations: 2.261 MB / 0.5907 GB, free: 3.699 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002214/0.45, allocations: 234.2 kB / 0.591 GB, free: 3.594 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001125/0.4511, allocations: 317.6 kB / 0.5913 GB, free: 3.488 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0087/0.4598, allocations: 4.295 MB / 0.5954 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.858e-05/0.4599, allocations: 5.156 kB / 0.5955 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003072/0.4602, allocations: 125.3 kB / 0.5956 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000166/0.4604, allocations: 153.6 kB / 0.5957 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006846/0.4672, allocations: 3.501 MB / 0.5991 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02262/0.4899, allocations: 11.23 MB / 0.6101 GB, free: 6.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004275/0.4941, allocations: 2.137 MB / 0.6122 GB, free: 5.352 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001833/0.496, allocations: 0.9984 MB / 0.6132 GB, free: 4.363 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005528/0.5015, allocations: 2.527 MB / 0.6156 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.5015, allocations: 49.52 kB / 0.6157 GB, free: 1.797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=107): time 3.757e-06/0.5015, allocations: 4 kB / 0.6157 GB, free: 1.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=110): time 0.009988/0.5115, allocations: 4.133 MB / 0.6197 GB, free: 13.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.5116, allocations: 60.41 kB / 0.6198 GB, free: 13.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002504/0.5141, allocations: 1.442 MB / 0.6212 GB, free: 12.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001281/0.5142, allocations: 49.7 kB / 0.6212 GB, free: 12.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001242/0.5155, allocations: 1.475 MB / 0.6227 GB, free: 10.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000394/0.5159, allocations: 418.3 kB / 0.6231 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004635/0.5163, allocations: 271.5 kB / 0.6233 GB, free: 9.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.5165, allocations: 309.1 kB / 0.6236 GB, free: 9.605 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.5176, allocations: 0.5661 MB / 0.6242 GB, free: 9.039 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/0.5191, allocations: 1.087 MB / 0.6252 GB, free: 7.738 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002661/0.5218, allocations: 1.73 MB / 0.6269 GB, free: 5.859 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/0.5218, allocations: 4 kB / 0.6269 GB, free: 5.855 MB / 414.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.00361/0.5254, allocations: 1.965 MB / 0.6289 GB, free: 3.969 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.927e-05/0.5255, allocations: 12 kB / 0.6289 GB, free: 3.957 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/0.5255, allocations: 16 kB / 0.6289 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004149/0.5259, allocations: 133.9 kB / 0.629 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.5272, allocations: 365.2 kB / 0.6294 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003215/0.5304, allocations: 3.108 MB / 0.6324 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.5319, allocations: 75.86 kB / 0.6325 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001683/0.5321, allocations: 67.98 kB / 0.6325 GB, free: 44 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 182 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * 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): 2 systems {(1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002309/0.5344, allocations: 0.964 MB / 0.6335 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000517/0.5349, allocations: 166.9 kB / 0.6336 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003687/0.5386, allocations: 1.643 MB / 0.6352 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/0.5386, allocations: 15.94 kB / 0.6353 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-05/0.5386, allocations: 8 kB / 0.6353 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.5386, allocations: 3.984 kB / 0.6353 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008256/0.5469, allocations: 3.514 MB / 0.6387 GB, free: 9.719 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.5469, allocations: 8 kB / 0.6387 GB, free: 9.711 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008424/0.5478, allocations: 186.2 kB / 0.6389 GB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008874/0.5486, allocations: 306.8 kB / 0.6392 GB, free: 9.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.479e-05/0.5487, allocations: 27.98 kB / 0.6392 GB, free: 9.203 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008606/0.5573, allocations: 7.632 MB / 0.6467 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/0.5573, allocations: 3.938 kB / 0.6467 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004796/0.5621, allocations: 2.402 MB / 0.649 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/0.5633, allocations: 282.8 kB / 0.6493 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005124/0.5638, allocations: 31.98 kB / 0.6493 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.565, allocations: 47.97 kB / 0.6493 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002849/0.5652, allocations: 96.3 kB / 0.6494 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.541e-05/0.5653, allocations: 31.98 kB / 0.6495 GB, free: 14.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002117/0.5674, allocations: 0.9698 MB / 0.6504 GB, free: 13.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5674, allocations: 0 / 0.6504 GB, free: 13.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00256/0.57, allocations: 0.5041 MB / 0.6509 GB, free: 12.85 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (smr.inertiaRotor.w,smr.stator.zeroInductor.i0,smr.stator.core.Phi.re,smr.stator.core.Phi.im,smr.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smr.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,5,100.0%), (1,1,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.0004345/0.5704, allocations: 157.8 kB / 0.6511 GB, free: 12.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003273/0.5737, allocations: 1.583 MB / 0.6526 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.5737, allocations: 0 / 0.6526 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002136/0.5758, allocations: 1.178 MB / 0.6538 GB, free: 9.934 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00272/0.5786, allocations: 433.4 kB / 0.6542 GB, free: 9.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/0.5912, allocations: 5.414 MB / 0.6595 GB, free: 4.062 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002795/0.594, allocations: 1.642 MB / 0.6611 GB, free: 2.395 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006396/0.5946, allocations: 131.4 kB / 0.6612 GB, free: 2.266 MB / 446.1 MB Notification: Performance of SimCode: time 1.422e-06/0.5946, allocations: 0 / 0.6612 GB, free: 2.266 MB / 446.1 MB Notification: Performance of Templates: time 0.1369/0.7315, allocations: 91.04 MB / 0.7501 GB, free: 7.262 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.781225068960339] Failed to read output from testmodel.py, exit status != 0: 0.7407975262030959 0.75832954 0.32874901300000003 Calling exit ...