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.001447/0.001447, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.478/1.478, allocations: 230.6 MB / 252.6 MB, free: 8.316 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.001616/0.001616, allocations: 224.6 kB / 309.2 MB, free: 3.203 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.0428/0.0428, allocations: 8.924 MB / 374.6 MB, free: 1.953 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.002853/0.002853, allocations: 91.88 kB / 0.4897 GB, free: 6.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2872, allocations: 55.6 MB / 0.544 GB, free: 27.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_Inverter): time 0.01115/0.2984, allocations: 14.14 MB / 0.5578 GB, free: 17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007142/0.3055, allocations: 4.722 MB / 0.5624 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001951/0.3074, allocations: 111.9 kB / 0.5625 GB, free: 13.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002487/0.3099, allocations: 1.096 MB / 0.5636 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003589/0.3135, allocations: 1.321 MB / 0.5649 GB, free: 12.05 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/SynchronousMachines/SMR_Inverter.mo:88:3-88:33:writable] Warning: Conditional component 'ir' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.002858/0.3164, allocations: 0.9257 MB / 0.5658 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005234/0.3216, allocations: 3.872 MB / 0.5696 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002557/0.3242, allocations: 1.868 MB / 0.5714 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003044/0.3272, allocations: 1.829 MB / 0.5732 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003972/0.3312, allocations: 2.142 MB / 0.5753 GB, free: 6.465 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007987/0.332, allocations: 0.4899 MB / 0.5758 GB, free: 6.461 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001686/0.3337, allocations: 0.7145 MB / 0.5765 GB, free: 6.379 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008181/0.3345, allocations: 1.082 MB / 0.5775 GB, free: 5.664 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001851/0.3363, allocations: 2.049 MB / 0.5795 GB, free: 4.289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006068/0.3424, allocations: 6.463 MB / 0.5858 GB, free: 15.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3424, allocations: 1.188 kB / 0.5858 GB, free: 15.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3424, allocations: 0 / 0.5858 GB, free: 15.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001243/0.3425, allocations: 0 / 0.5858 GB, free: 15.91 MB / 398.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.01195/0.3545, allocations: 4.229 MB / 0.59 GB, free: 13.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.3545, allocations: 9.062 kB / 0.59 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004118/0.3587, allocations: 0.7513 MB / 0.5907 GB, free: 12.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005571/0.3642, allocations: 2.279 MB / 0.5929 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002026/0.3644, allocations: 246.6 kB / 0.5932 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005949/0.365, allocations: 320.1 kB / 0.5935 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008352/0.3734, allocations: 4.161 MB / 0.5975 GB, free: 6.008 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.87e-05/0.3734, allocations: 4 kB / 0.5975 GB, free: 6.004 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003116/0.3738, allocations: 132 kB / 0.5977 GB, free: 5.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001545/0.3739, allocations: 142.3 kB / 0.5978 GB, free: 5.734 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006688/0.3806, allocations: 3.507 MB / 0.6012 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02297/0.4036, allocations: 12.84 MB / 0.6138 GB, free: 4.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004386/0.408, allocations: 2.164 MB / 0.6159 GB, free: 2.898 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001819/0.4098, allocations: 0.989 MB / 0.6168 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006078/0.4159, allocations: 2.858 MB / 0.6196 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.4159, allocations: 47.5 kB / 0.6197 GB, free: 14.97 MB / 430.1 MB Notification: Performance of pre-optimization done (n=107): time 2.635e-06/0.4159, allocations: 0 / 0.6197 GB, free: 14.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=110): time 0.009363/0.4253, allocations: 4.145 MB / 0.6237 GB, free: 10.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.4253, allocations: 64.41 kB / 0.6238 GB, free: 10.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002528/0.4279, allocations: 1.623 MB / 0.6254 GB, free: 9.078 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.156e-05/0.4279, allocations: 45.7 kB / 0.6254 GB, free: 9.027 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001231/0.4292, allocations: 1.473 MB / 0.6269 GB, free: 7.539 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003596/0.4295, allocations: 404.5 kB / 0.6272 GB, free: 7.141 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004336/0.43, allocations: 275.5 kB / 0.6275 GB, free: 6.863 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.4301, allocations: 309.1 kB / 0.6278 GB, free: 6.559 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.4311, allocations: 0.5661 MB / 0.6283 GB, free: 5.992 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001435/0.4326, allocations: 1.067 MB / 0.6294 GB, free: 4.711 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002585/0.4352, allocations: 1.725 MB / 0.6311 GB, free: 2.773 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/0.4352, allocations: 8 kB / 0.6311 GB, free: 2.766 MB / 430.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003601/0.4388, allocations: 1.983 MB / 0.633 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.4388, allocations: 12 kB / 0.633 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.268e-05/0.4388, allocations: 16 kB / 0.633 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004178/0.4392, allocations: 134.5 kB / 0.6332 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/0.4406, allocations: 367.6 kB / 0.6335 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00299/0.4436, allocations: 3.177 MB / 0.6366 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.4449, allocations: 67.92 kB / 0.6367 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.4451, allocations: 67.98 kB / 0.6368 GB, free: 12.7 MB / 446.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.002053/0.4471, allocations: 0.9635 MB / 0.6377 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003171/0.4474, allocations: 186.8 kB / 0.6379 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00333/0.4508, allocations: 1.644 MB / 0.6395 GB, free: 9.875 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.4508, allocations: 8 kB / 0.6395 GB, free: 9.867 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.4508, allocations: 8 kB / 0.6395 GB, free: 9.859 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.4508, allocations: 7.969 kB / 0.6395 GB, free: 9.852 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007762/0.4586, allocations: 4.179 MB / 0.6436 GB, free: 5.586 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.4586, allocations: 8 kB / 0.6436 GB, free: 5.578 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009016/0.4595, allocations: 187.9 kB / 0.6438 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008929/0.4604, allocations: 311.1 kB / 0.6441 GB, free: 5.078 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.317e-05/0.4605, allocations: 27.98 kB / 0.6441 GB, free: 5.051 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008219/0.4687, allocations: 7.789 MB / 0.6517 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.4687, allocations: 0 / 0.6517 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004479/0.4732, allocations: 2.421 MB / 0.6541 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009731/0.4741, allocations: 306.7 kB / 0.6544 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/0.4743, allocations: 24 kB / 0.6544 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007822/0.4751, allocations: 59.95 kB / 0.6544 GB, free: 9.953 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000253/0.4754, allocations: 88.77 kB / 0.6545 GB, free: 9.867 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-05/0.4754, allocations: 35.98 kB / 0.6546 GB, free: 9.832 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00177/0.4772, allocations: 1.107 MB / 0.6556 GB, free: 8.73 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4772, allocations: 0 / 0.6556 GB, free: 8.73 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001909/0.4791, allocations: 0.5078 MB / 0.6561 GB, free: 8.223 MB / 462.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.000327/0.4794, allocations: 159 kB / 0.6563 GB, free: 8.055 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002737/0.4822, allocations: 1.588 MB / 0.6578 GB, free: 6.438 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4822, allocations: 0 / 0.6578 GB, free: 6.438 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001812/0.484, allocations: 1.178 MB / 0.659 GB, free: 5.211 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002067/0.4861, allocations: 0.519 MB / 0.6595 GB, free: 4.703 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00941/0.4955, allocations: 5.484 MB / 0.6648 GB, free: 15.17 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002059/0.4975, allocations: 2.237 MB / 0.667 GB, free: 12.91 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001136/0.4987, allocations: 379.5 kB / 0.6674 GB, free: 12.53 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/0.499, allocations: 119.4 kB / 0.6675 GB, free: 12.41 MB / 478.1 MB Notification: Performance of SimCode: time 7.41e-07/0.499, allocations: 0 / 0.6675 GB, free: 12.41 MB / 478.1 MB Notification: Performance of Templates: time 0.05153/0.5505, allocations: 27.47 MB / 0.6943 GB, free: 1.234 MB / 494.1 MB " [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: 6.2122100030537695] Failed to read output from testmodel.py, exit status != 0: 0.7741512898355722 0.787325191 0.44192261899999996 Calling exit ...