Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Rotational.TestDCPMMachine.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.0009079/0.0009079, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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 0.9107/0.9107, allocations: 177.2 MB / 200.2 MB, free: 5.961 MB / 186.7 MB " [Timeout remaining time 179] 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.00115/0.00115, allocations: 156.6 kB / 256.7 MB, free: 13.37 MB / 250.7 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.02247/0.02247, allocations: 6.656 MB / 319.8 MB, free: 26.79 MB / 266.7 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.Rotational.TestDCPMMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.TestDCPMMachine") translateModel(HanserModelica.Rotational.TestDCPMMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.TestDCPMMachine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 446.6 MB, free: 37.18 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.513e-05, allocations: 2.281 kB / 446.6 MB, free: 37.17 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.TestDCPMMachine): time 0.002256/0.002281, allocations: 2.704 MB / 449.3 MB, free: 34.45 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007034/0.002984, allocations: 0.67 MB / 450 MB, free: 33.77 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.003103, allocations: 7.938 kB / 450 MB, free: 33.77 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.003233, allocations: 51.45 kB / 450.1 MB, free: 33.71 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.003401, allocations: 103.1 kB / 450.2 MB, free: 33.61 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001141/0.003515, allocations: 83.88 kB / 450.2 MB, free: 33.53 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.003718, allocations: 398.1 kB / 450.6 MB, free: 33.14 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.003874, allocations: 93 kB / 450.7 MB, free: 33.05 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.004, allocations: 219.5 kB / 450.9 MB, free: 32.83 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.662e-05/0.004097, allocations: 107.7 kB / 451 MB, free: 32.73 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.831e-05/0.004135, allocations: 40 kB / 451.1 MB, free: 32.69 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.587e-05/0.004161, allocations: 36 kB / 451.1 MB, free: 32.65 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.155e-05/0.004192, allocations: 75.73 kB / 451.2 MB, free: 32.58 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.707e-05/0.004249, allocations: 123.7 kB / 451.3 MB, free: 32.46 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.004488, allocations: 422.7 kB / 451.7 MB, free: 32.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.00449, allocations: 0 / 451.7 MB, free: 32.04 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.004491, allocations: 0 / 451.7 MB, free: 32.04 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.004496, allocations: 4 kB / 451.7 MB, free: 32.04 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0005313/0.005027, allocations: 0.5248 MB / 452.3 MB, free: 31.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.005058, allocations: 11.98 kB / 452.3 MB, free: 31.47 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/0.005105, allocations: 32.75 kB / 452.3 MB, free: 31.44 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.005328, allocations: 205.3 kB / 452.5 MB, free: 31.21 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.005343, allocations: 25.03 kB / 452.5 MB, free: 31.19 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.005379, allocations: 36.31 kB / 452.6 MB, free: 31.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003091/0.005688, allocations: 292.3 kB / 452.8 MB, free: 30.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.005703, allocations: 8.141 kB / 452.9 MB, free: 30.85 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.005723, allocations: 12.12 kB / 452.9 MB, free: 30.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.00573, allocations: 11.98 kB / 452.9 MB, free: 30.83 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002381/0.005968, allocations: 206.5 kB / 453.1 MB, free: 30.62 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007984/0.006766, allocations: 0.8299 MB / 453.9 MB, free: 29.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.007, allocations: 146.5 kB / 454.1 MB, free: 29.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.656e-05/0.007086, allocations: 71.36 kB / 454.1 MB, free: 29.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.007101, allocations: 7.984 kB / 454.1 MB, free: 29.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.274e-05/0.007113, allocations: 34.84 kB / 454.2 MB, free: 29.47 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/0.007115, allocations: 3.938 kB / 454.2 MB, free: 29.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007811/0.007896, allocations: 0.5391 MB / 454.7 MB, free: 28.89 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.083e-05/0.007917, allocations: 55.41 kB / 454.8 MB, free: 28.83 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.771e-05/0.008005, allocations: 183.6 kB / 454.9 MB, free: 28.64 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.719e-06/0.008015, allocations: 33.7 kB / 455 MB, free: 28.6 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.008061, allocations: 184.4 kB / 455.2 MB, free: 28.41 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.008082, allocations: 63.45 kB / 455.2 MB, free: 28.35 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.008123, allocations: 37.72 kB / 455.3 MB, free: 28.31 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.918e-05/0.008152, allocations: 330.8 kB / 455.6 MB, free: 27.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.154e-05/0.008234, allocations: 59.97 kB / 455.6 MB, free: 27.92 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.797e-05/0.008322, allocations: 104 kB / 455.7 MB, free: 27.8 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.008485, allocations: 167 kB / 455.9 MB, free: 27.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.008486, allocations: 0 / 455.9 MB, free: 27.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002449/0.008731, allocations: 242.1 kB / 456.1 MB, free: 27.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.008744, allocations: 4 kB / 456.1 MB, free: 27.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.00875, allocations: 8.125 kB / 456.1 MB, free: 27.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001028/0.008852, allocations: 20.84 kB / 456.2 MB, free: 27.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.008955, allocations: 51.89 kB / 456.2 MB, free: 27.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004441/0.009399, allocations: 1.237 MB / 457.5 MB, free: 25.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.842e-05/0.009457, allocations: 20.11 kB / 457.5 MB, free: 25.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.009467, allocations: 11.94 kB / 457.5 MB, free: 25.92 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.225e-05/0.00955, allocations: 137.8 kB / 457.6 MB, free: 25.78 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.00957, allocations: 15.91 kB / 457.6 MB, free: 25.76 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.301e-05/0.009593, allocations: 25.8 kB / 457.7 MB, free: 25.74 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.009594, allocations: 0 / 457.7 MB, free: 25.74 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.009597, allocations: 4 kB / 457.7 MB, free: 25.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.009601, allocations: 3.938 kB / 457.7 MB, free: 25.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004137/0.01001, allocations: 0.5121 MB / 458.2 MB, free: 25.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01002, allocations: 0 / 458.2 MB, free: 25.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.01012, allocations: 39.91 kB / 458.2 MB, free: 25.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-05/0.01016, allocations: 20.86 kB / 458.2 MB, free: 25.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.01017, allocations: 0 / 458.2 MB, free: 25.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003374/0.01051, allocations: 1.245 MB / 459.5 MB, free: 23.76 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01051, allocations: 8.016 kB / 459.5 MB, free: 23.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.0108, allocations: 365.8 kB / 459.9 MB, free: 23.37 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.379e-05/0.01081, allocations: 15.91 kB / 459.9 MB, free: 23.35 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.01083, allocations: 7.938 kB / 459.9 MB, free: 23.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.351e-05/0.0109, allocations: 16.08 kB / 459.9 MB, free: 23.33 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.01094, allocations: 19.92 kB / 459.9 MB, free: 23.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.01094, allocations: 4 kB / 459.9 MB, free: 23.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.166e-05/0.01099, allocations: 141.1 kB / 460.1 MB, free: 23.17 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01099, allocations: 0 / 460.1 MB, free: 23.17 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001905/0.01118, allocations: 56 kB / 460.1 MB, free: 23.11 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (machine.inductor.i,machine.inertia.w,load.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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.283e-05/0.01126, allocations: 99.19 kB / 460.2 MB, free: 23.01 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003118/0.01157, allocations: 268.4 kB / 460.5 MB, free: 22.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01157, allocations: 0 / 460.5 MB, free: 22.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.01169, allocations: 194.5 kB / 460.7 MB, free: 22.53 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.01194, allocations: 27.98 kB / 460.7 MB, free: 22.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006188/0.01256, allocations: 0.6197 MB / 461.3 MB, free: 21.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.349e-05/0.01262, allocations: 150.5 kB / 461.5 MB, free: 21.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.799e-05/0.01266, allocations: 20.5 kB / 461.5 MB, free: 21.66 MB / 330.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01266, allocations: 0 / 461.5 MB, free: 21.66 MB / 330.7 MB Notification: Performance of Templates: time 0.003168/0.01583, allocations: 4.218 MB / 465.7 MB, free: 17.45 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Rotational.TestDCPMMachine.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe ; mkfifo HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe >> ../files/HanserModelica_HanserModelica.Rotational.TestDCPMMachine.sim & ./HanserModelica_HanserModelica.Rotational.TestDCPMMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.374465457163751] Failed to read output from testmodel.py, exit status != 0: 0.020501178689301014 0.026591712 0.020771590000000003 Calling exit ...