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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002062/0.002062, allocations: 114.3 kB / 17.13 MB, free: 5.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 225.6 MB / 245.5 MB, free: 14.16 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 190.3 kB / 300.5 MB, free: 9.812 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04013/0.04013, allocations: 8.932 MB / 364.3 MB, free: 10.16 MB / 302.1 MB " [Timeout remaining time 180] 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002364/0.002364, allocations: 84.06 kB / 487.3 MB, free: 1.266 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3177, allocations: 54.39 MB / 0.529 GB, free: 30.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_Inverter): time 0.01122/0.3289, allocations: 13.46 MB / 0.5421 GB, free: 20.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007295/0.3362, allocations: 4.446 MB / 0.5464 GB, free: 17.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002384/0.3386, allocations: 84.28 kB / 0.5465 GB, free: 17.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002784/0.3414, allocations: 1.084 MB / 0.5476 GB, free: 17.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004196/0.3456, allocations: 1.337 MB / 0.5489 GB, free: 16.24 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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.002166/0.3477, allocations: 0.8663 MB / 0.5497 GB, free: 15.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004427/0.3522, allocations: 3.811 MB / 0.5535 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00267/0.3548, allocations: 2.341 MB / 0.5557 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002533/0.3574, allocations: 1.79 MB / 0.5575 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003022/0.3604, allocations: 2.025 MB / 0.5595 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007599/0.3611, allocations: 496.8 kB / 0.5599 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/0.3626, allocations: 0.6961 MB / 0.5606 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007125/0.3633, allocations: 1.074 MB / 0.5617 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002249/0.3656, allocations: 2.042 MB / 0.5637 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008394/0.374, allocations: 6.421 MB / 0.5699 GB, free: 6.191 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.374, allocations: 1.188 kB / 0.5699 GB, free: 6.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.374, allocations: 0 / 0.5699 GB, free: 6.191 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001943/0.3742, allocations: 0.6562 kB / 0.5699 GB, free: 6.191 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.01197/0.3862, allocations: 4.262 MB / 0.5741 GB, free: 3.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.3862, allocations: 13.09 kB / 0.5741 GB, free: 3.406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00399/0.3902, allocations: 0.771 MB / 0.5749 GB, free: 3.023 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004861/0.395, allocations: 2.325 MB / 0.5771 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/0.3952, allocations: 237.8 kB / 0.5774 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007001/0.3959, allocations: 318.1 kB / 0.5777 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008379/0.4043, allocations: 4.17 MB / 0.5817 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-05/0.4044, allocations: 2.281 kB / 0.5817 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000332/0.4047, allocations: 130.5 kB / 0.5819 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001726/0.4049, allocations: 140.1 kB / 0.582 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007391/0.4123, allocations: 3.503 MB / 0.5854 GB, free: 11.76 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02479/0.4371, allocations: 13.07 MB / 0.5982 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006066/0.4431, allocations: 5.415 MB / 0.6035 GB, free: 8.129 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001904/0.445, allocations: 0.9659 MB / 0.6044 GB, free: 7.172 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006188/0.4512, allocations: 3.045 MB / 0.6074 GB, free: 4.039 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.381e-05/0.4513, allocations: 47.5 kB / 0.6074 GB, free: 3.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 2.895e-06/0.4513, allocations: 0 / 0.6074 GB, free: 3.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=110): time 0.01039/0.4617, allocations: 4.641 MB / 0.612 GB, free: 15.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.4617, allocations: 64.41 kB / 0.612 GB, free: 15.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002681/0.4644, allocations: 1.602 MB / 0.6136 GB, free: 13.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.4645, allocations: 49.7 kB / 0.6136 GB, free: 13.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001305/0.4658, allocations: 1.465 MB / 0.6151 GB, free: 11.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004017/0.4662, allocations: 408.5 kB / 0.6155 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004457/0.4667, allocations: 271.5 kB / 0.6157 GB, free: 11.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.4668, allocations: 305.1 kB / 0.616 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.4678, allocations: 0.57 MB / 0.6166 GB, free: 10.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001542/0.4694, allocations: 1.055 MB / 0.6176 GB, free: 9.121 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002588/0.472, allocations: 1.737 MB / 0.6193 GB, free: 7.172 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.472, allocations: 4 kB / 0.6193 GB, free: 7.168 MB / 430.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003654/0.4756, allocations: 2.035 MB / 0.6213 GB, free: 5.098 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/0.4757, allocations: 15.98 kB / 0.6213 GB, free: 5.082 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-05/0.4757, allocations: 16 kB / 0.6213 GB, free: 5.066 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004188/0.4761, allocations: 130.8 kB / 0.6214 GB, free: 4.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.4775, allocations: 367.4 kB / 0.6218 GB, free: 4.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003305/0.4808, allocations: 3.376 MB / 0.6251 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.4824, allocations: 68.12 kB / 0.6251 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.4825, allocations: 71.98 kB / 0.6252 GB, free: 0.7773 MB / 430.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.002278/0.4848, allocations: 0.954 MB / 0.6261 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003785/0.4852, allocations: 190.7 kB / 0.6263 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00343/0.4886, allocations: 1.797 MB / 0.6281 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.4886, allocations: 12 kB / 0.6281 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.4886, allocations: 4 kB / 0.6281 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.4886, allocations: 3.984 kB / 0.6281 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0078/0.4964, allocations: 4.346 MB / 0.6323 GB, free: 9.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.4964, allocations: 0 / 0.6323 GB, free: 9.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008562/0.4973, allocations: 179.8 kB / 0.6325 GB, free: 9.094 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008658/0.4981, allocations: 303.3 kB / 0.6328 GB, free: 8.785 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.561e-05/0.4982, allocations: 39.98 kB / 0.6328 GB, free: 8.746 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008604/0.5068, allocations: 8.189 MB / 0.6408 GB, free: 0 / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5068, allocations: 4.078 kB / 0.6408 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004668/0.5115, allocations: 2.563 MB / 0.6433 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/0.5126, allocations: 387.8 kB / 0.6437 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002349/0.5128, allocations: 24 kB / 0.6437 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000799/0.5136, allocations: 55.95 kB / 0.6438 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002379/0.5139, allocations: 88.81 kB / 0.6439 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.082e-05/0.5139, allocations: 28 kB / 0.6439 GB, free: 12.76 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001796/0.5157, allocations: 1.099 MB / 0.645 GB, free: 11.66 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5157, allocations: 0 / 0.645 GB, free: 11.66 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002093/0.5178, allocations: 0.5038 MB / 0.6455 GB, free: 11.16 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.0003861/0.5182, allocations: 166.8 kB / 0.6456 GB, free: 10.99 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003168/0.5214, allocations: 1.659 MB / 0.6473 GB, free: 9.285 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.5214, allocations: 0 / 0.6473 GB, free: 9.285 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002029/0.5234, allocations: 1.173 MB / 0.6484 GB, free: 8.059 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002489/0.5259, allocations: 0.4984 MB / 0.6489 GB, free: 7.566 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/0.5373, allocations: 5.425 MB / 0.6542 GB, free: 2.078 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002351/0.5397, allocations: 2.176 MB / 0.6563 GB, free: 15.88 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005965/0.5403, allocations: 135.4 kB / 0.6564 GB, free: 15.74 MB / 478.1 MB Notification: Performance of SimCode: time 1.433e-06/0.5403, allocations: 0 / 0.6564 GB, free: 15.74 MB / 478.1 MB Notification: Performance of Templates: time 0.3432/0.8834, allocations: 90.64 MB / 0.7449 GB, free: 125.7 MB / 0.4981 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: 13.463034850006807] Failed to read output from testmodel.py, exit status != 0: 0.8930057099933038 0.899978132 0.5237850359999999 Calling exit ...