Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.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.002059/0.002059, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.608/1.608, allocations: 230.6 MB / 252.7 MB, free: 8.07 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.001704/0.001704, allocations: 213.3 kB / 309.2 MB, free: 2.922 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.04247/0.04247, allocations: 8.926 MB / 374.6 MB, free: 1.688 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.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL") translateModel(HanserModelica.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL") [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.002559/0.002559, allocations: 80.25 kB / 0.4896 GB, free: 6.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2827, allocations: 55.6 MB / 0.5439 GB, free: 26.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_DOL): time 0.01343/0.2961, allocations: 15.1 MB / 0.5587 GB, free: 16.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009861/0.306, allocations: 5.443 MB / 0.564 GB, free: 13.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00302/0.309, allocations: 129.5 kB / 0.5641 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003962/0.3129, allocations: 1.267 MB / 0.5654 GB, free: 12.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005401/0.3183, allocations: 1.641 MB / 0.567 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003162/0.3215, allocations: 1.059 MB / 0.568 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006547/0.328, allocations: 5.087 MB / 0.573 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004274/0.3323, allocations: 2.214 MB / 0.5751 GB, free: 6.789 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003871/0.3362, allocations: 2.338 MB / 0.5774 GB, free: 5.641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005598/0.3418, allocations: 2.651 MB / 0.58 GB, free: 4.438 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001928/0.3437, allocations: 0.6177 MB / 0.5806 GB, free: 4.438 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003351/0.3471, allocations: 0.8495 MB / 0.5814 GB, free: 4.324 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002147/0.3492, allocations: 1.438 MB / 0.5828 GB, free: 3.164 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004786/0.354, allocations: 2.109 MB / 0.5849 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01317/0.3672, allocations: 8.235 MB / 0.5929 GB, free: 10.53 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3672, allocations: 0 / 0.5929 GB, free: 10.53 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3672, allocations: 0 / 0.5929 GB, free: 10.53 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002487/0.3674, allocations: 0 / 0.5929 GB, free: 10.53 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: 1052 * Number of variables: 1052 Notification: Performance of Generate backend data structure: time 0.01715/0.3846, allocations: 5.466 MB / 0.5983 GB, free: 4.996 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.3846, allocations: 12.03 kB / 0.5983 GB, free: 4.984 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006235/0.3909, allocations: 1.021 MB / 0.5993 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009176/0.4, allocations: 2.992 MB / 0.6022 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003891/0.4004, allocations: 300.5 kB / 0.6025 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001459/0.4019, allocations: 408.1 kB / 0.6029 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01313/0.415, allocations: 5.375 MB / 0.6081 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000136/0.4152, allocations: 7.938 kB / 0.6081 GB, free: 10.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006799/0.4158, allocations: 164 kB / 0.6083 GB, free: 10.56 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002019/0.416, allocations: 172 kB / 0.6085 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009853/0.4259, allocations: 4.466 MB / 0.6128 GB, free: 5.906 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03327/0.4592, allocations: 14.36 MB / 0.6268 GB, free: 7.098 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006614/0.4658, allocations: 3.243 MB / 0.63 GB, free: 4.062 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004345/0.4701, allocations: 1.988 MB / 0.6319 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009695/0.4798, allocations: 4.166 MB / 0.636 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.763e-05/0.4799, allocations: 47.88 kB / 0.6361 GB, free: 13.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=158): time 4.148e-06/0.4799, allocations: 0 / 0.6361 GB, free: 13.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=161): time 0.01407/0.494, allocations: 5.926 MB / 0.6419 GB, free: 7.855 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.494, allocations: 64.72 kB / 0.6419 GB, free: 7.777 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003598/0.4976, allocations: 2.11 MB / 0.644 GB, free: 5.633 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001868/0.4978, allocations: 57.7 kB / 0.644 GB, free: 5.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001564/0.4994, allocations: 1.908 MB / 0.6459 GB, free: 3.645 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000584/0.4999, allocations: 0.5849 MB / 0.6465 GB, free: 3.055 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006267/0.5006, allocations: 407.8 kB / 0.6469 GB, free: 2.648 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.5007, allocations: 305.1 kB / 0.6471 GB, free: 2.348 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001576/0.5023, allocations: 0.8631 MB / 0.648 GB, free: 1.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002205/0.5045, allocations: 1.596 MB / 0.6495 GB, free: 15.55 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004086/0.5086, allocations: 2.593 MB / 0.6521 GB, free: 12.63 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.318e-05/0.5086, allocations: 8 kB / 0.6521 GB, free: 12.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.005793/0.5144, allocations: 2.897 MB / 0.6549 GB, free: 9.711 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.392e-05/0.5144, allocations: 12 kB / 0.6549 GB, free: 9.699 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-05/0.5145, allocations: 27.94 kB / 0.6549 GB, free: 9.672 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004682/0.5149, allocations: 181.7 kB / 0.6551 GB, free: 9.488 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002074/0.517, allocations: 0.5226 MB / 0.6556 GB, free: 8.965 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002859/0.5199, allocations: 2.277 MB / 0.6579 GB, free: 6.586 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002181/0.522, allocations: 111.8 kB / 0.658 GB, free: 6.477 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002287/0.5223, allocations: 99.98 kB / 0.6581 GB, free: 6.379 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (267): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002696/0.525, allocations: 1.197 MB / 0.6592 GB, free: 5.172 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006077/0.5256, allocations: 246.6 kB / 0.6595 GB, free: 4.93 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004871/0.5304, allocations: 2.363 MB / 0.6618 GB, free: 2.547 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/0.5305, allocations: 16 kB / 0.6618 GB, free: 2.531 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.5305, allocations: 4 kB / 0.6618 GB, free: 2.527 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.805e-05/0.5305, allocations: 7.969 kB / 0.6618 GB, free: 2.52 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/0.5411, allocations: 4.9 MB / 0.6666 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/0.5411, allocations: 4 kB / 0.6666 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001292/0.5424, allocations: 287.8 kB / 0.6669 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009903/0.5434, allocations: 352.4 kB / 0.6672 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/0.5435, allocations: 39.98 kB / 0.6672 GB, free: 12.87 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008127/0.5516, allocations: 6.933 MB / 0.674 GB, free: 5.637 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5516, allocations: 0 / 0.674 GB, free: 5.637 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006527/0.5582, allocations: 3.502 MB / 0.6774 GB, free: 2.082 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00144/0.5596, allocations: 426.3 kB / 0.6778 GB, free: 1.664 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000314/0.5599, allocations: 32 kB / 0.6779 GB, free: 1.633 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.561, allocations: 79.94 kB / 0.6779 GB, free: 1.555 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000297/0.5613, allocations: 129 kB / 0.6781 GB, free: 1.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.5614, allocations: 48.36 kB / 0.6781 GB, free: 1.383 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002412/0.5638, allocations: 1.4 MB / 0.6795 GB, free: 15.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5638, allocations: 0 / 0.6795 GB, free: 15.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002644/0.5665, allocations: 0.6718 MB / 0.6801 GB, free: 15.29 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,8,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000422/0.5669, allocations: 182.8 kB / 0.6803 GB, free: 15.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00429/0.5712, allocations: 2.178 MB / 0.6824 GB, free: 12.91 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.5712, allocations: 7.938 kB / 0.6824 GB, free: 12.91 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002515/0.5737, allocations: 1.411 MB / 0.6838 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/0.5763, allocations: 0.5023 MB / 0.6843 GB, free: 10.95 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01405/0.5903, allocations: 7.016 MB / 0.6912 GB, free: 3.895 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002822/0.5931, allocations: 2.135 MB / 0.6932 GB, free: 1.727 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00203/0.5952, allocations: 0.5264 MB / 0.6938 GB, free: 1.195 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004824/0.5956, allocations: 163.4 kB / 0.6939 GB, free: 1.035 MB / 494.1 MB Notification: Performance of SimCode: time 1.152e-06/0.5956, allocations: 0 / 0.6939 GB, free: 1.035 MB / 494.1 MB Notification: Performance of Templates: time 0.2712/0.8669, allocations: 34.89 MB / 0.728 GB, free: 105.9 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.496529037132859] Failed to read output from testmodel.py, exit status != 0: 0.8765349220484495 0.886550201 0.516850046 Calling exit ...