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.001917/0.001917, allocations: 77.25 kB / 19.18 MB, free: 2.512 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.492/1.492, allocations: 177.1 MB / 199.4 MB, free: 8.434 MB / 190.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.001662/0.001662, allocations: 162.3 kB / 256 MB, free: 4.305 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.0415/0.0415, allocations: 6.665 MB / 319 MB, free: 5.359 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: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 445.9 MB, free: 25.15 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.826e-05, allocations: 6.281 kB / 445.9 MB, free: 25.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_DOL): time 0.01345/0.01348, allocations: 15.12 MB / 461 MB, free: 9.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009474/0.02295, allocations: 5.454 MB / 466.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003057/0.02601, allocations: 123.3 kB / 466.6 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003292/0.0293, allocations: 1.285 MB / 467.9 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004596/0.0339, allocations: 1.677 MB / 469.6 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002349/0.03625, allocations: 1.093 MB / 470.7 MB, free: 296 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008659/0.0449, allocations: 5.293 MB / 476 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003999/0.0489, allocations: 2.231 MB / 478.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006276/0.05518, allocations: 3.427 MB / 481.6 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004114/0.05929, allocations: 2.26 MB / 483.9 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00104/0.06033, allocations: 0.6172 MB / 484.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001873/0.06221, allocations: 0.8511 MB / 485.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001419/0.06363, allocations: 1.46 MB / 486.8 MB, free: 28 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1934/0.257, allocations: 1.802 MB / 488.6 MB, free: 24.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0118/0.2688, allocations: 8.246 MB / 496.9 MB, free: 23.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.2688, allocations: 1.156 kB / 496.9 MB, free: 23.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2688, allocations: 0 / 496.9 MB, free: 23.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002457/0.2691, allocations: 0 / 496.9 MB, free: 23.75 MB / 350.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.01716/0.2862, allocations: 5.421 MB / 0.4905 GB, free: 21.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.2863, allocations: 15.86 kB / 0.4905 GB, free: 21.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006628/0.2929, allocations: 1.021 MB / 0.4915 GB, free: 21.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007629/0.3005, allocations: 3.003 MB / 0.4945 GB, free: 20.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001906/0.3007, allocations: 302.9 kB / 0.4947 GB, free: 20.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009324/0.3016, allocations: 396.4 kB / 0.4951 GB, free: 19.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00817/0.3098, allocations: 5.382 MB / 0.5004 GB, free: 16.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-05/0.3099, allocations: 6.766 kB / 0.5004 GB, free: 16.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000384/0.3103, allocations: 166.2 kB / 0.5005 GB, free: 16.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001363/0.3104, allocations: 174.3 kB / 0.5007 GB, free: 16.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007623/0.318, allocations: 4.468 MB / 0.5051 GB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0281/0.3461, allocations: 14.36 MB / 0.5191 GB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00554/0.3517, allocations: 3.244 MB / 0.5223 GB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004313/0.356, allocations: 1.999 MB / 0.5242 GB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009596/0.3656, allocations: 4.17 MB / 0.5283 GB, free: 8.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.174e-05/0.3656, allocations: 47.88 kB / 0.5283 GB, free: 8.672 MB / 366.1 MB Notification: Performance of pre-optimization done (n=158): time 4.348e-06/0.3656, allocations: 8 kB / 0.5283 GB, free: 8.664 MB / 366.1 MB Notification: Performance of matching and sorting (n=161): time 0.01457/0.3802, allocations: 5.914 MB / 0.5341 GB, free: 2.746 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.3803, allocations: 68.72 kB / 0.5342 GB, free: 2.668 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004025/0.3843, allocations: 2.116 MB / 0.5362 GB, free: 0.5195 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002637/0.3846, allocations: 53.7 kB / 0.5363 GB, free: 472 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001688/0.3863, allocations: 1.923 MB / 0.5382 GB, free: 14.58 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005963/0.3868, allocations: 0.5729 MB / 0.5387 GB, free: 14.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006769/0.3875, allocations: 403.8 kB / 0.5391 GB, free: 13.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3877, allocations: 304.5 kB / 0.5394 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001652/0.3893, allocations: 0.8592 MB / 0.5403 GB, free: 12.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002224/0.3916, allocations: 1.591 MB / 0.5418 GB, free: 10.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003994/0.3956, allocations: 2.595 MB / 0.5443 GB, free: 7.711 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.645e-05/0.3956, allocations: 8 kB / 0.5443 GB, free: 7.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.005751/0.4013, allocations: 2.899 MB / 0.5472 GB, free: 4.934 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/0.4014, allocations: 16 kB / 0.5472 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.01e-05/0.4014, allocations: 20 kB / 0.5472 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004861/0.4019, allocations: 182.1 kB / 0.5474 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002141/0.404, allocations: 0.5329 MB / 0.5479 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002753/0.4068, allocations: 2.266 MB / 0.5501 GB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00238/0.4092, allocations: 107.8 kB / 0.5502 GB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002464/0.4094, allocations: 104 kB / 0.5503 GB, free: 1.676 MB / 382.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.002979/0.4124, allocations: 1.199 MB / 0.5515 GB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007199/0.4131, allocations: 242.5 kB / 0.5517 GB, free: 268 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005272/0.4184, allocations: 2.357 MB / 0.554 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.463e-05/0.4184, allocations: 16 kB / 0.554 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-05/0.4184, allocations: 7.938 kB / 0.554 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-05/0.4185, allocations: 11.97 kB / 0.5541 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/0.4296, allocations: 4.887 MB / 0.5588 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.016e-06/0.4296, allocations: 8.125 kB / 0.5588 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/0.4309, allocations: 290.4 kB / 0.5591 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001015/0.4319, allocations: 357.9 kB / 0.5595 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/0.4321, allocations: 39.98 kB / 0.5595 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008669/0.4407, allocations: 6.909 MB / 0.5662 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.4407, allocations: 4 kB / 0.5662 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007176/0.4479, allocations: 3.507 MB / 0.5697 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001547/0.4495, allocations: 430.2 kB / 0.5701 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003387/0.4498, allocations: 35.94 kB / 0.5701 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.451, allocations: 78.67 kB / 0.5702 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003958/0.4514, allocations: 128.4 kB / 0.5703 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/0.4515, allocations: 51.98 kB / 0.5704 GB, free: 12.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002553/0.454, allocations: 1.396 MB / 0.5717 GB, free: 11.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.454, allocations: 0 / 0.5717 GB, free: 11.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002921/0.457, allocations: 0.6718 MB / 0.5724 GB, free: 10.82 MB / 414.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.0004634/0.4574, allocations: 183.3 kB / 0.5726 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004544/0.462, allocations: 2.173 MB / 0.5747 GB, free: 8.543 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.462, allocations: 0 / 0.5747 GB, free: 8.543 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002565/0.4645, allocations: 1.41 MB / 0.5761 GB, free: 7.121 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002755/0.4673, allocations: 0.506 MB / 0.5766 GB, free: 6.617 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01462/0.4819, allocations: 6.823 MB / 0.5832 GB, free: 15.76 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002922/0.4848, allocations: 2.142 MB / 0.5853 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002093/0.4869, allocations: 0.5293 MB / 0.5858 GB, free: 13.06 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000546/0.4875, allocations: 160.5 kB / 0.586 GB, free: 12.9 MB / 430.1 MB Notification: Performance of SimCode: time 1.403e-06/0.4875, allocations: 0 / 0.586 GB, free: 12.9 MB / 430.1 MB Notification: Performance of Templates: time 0.06334/0.5508, allocations: 30.01 MB / 0.6153 GB, free: 15.36 MB / 462.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: 5.983827769756317] Failed to read output from testmodel.py, exit status != 0: 0.5598770193755627 0.5763407589999999 0.30405928600000004 Calling exit ...