Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.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.001309/0.001309, allocations: 117.5 kB / 17.13 MB, free: 5.941 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.448/1.448, 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.001557/0.001557, allocations: 202.2 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.04334/0.04334, allocations: 8.935 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.SMEE_ShortCircuit3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002401/0.002401, allocations: 84.06 kB / 487.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09137/0.09377, allocations: 54.41 MB / 0.529 GB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01994/0.1137, allocations: 16.01 MB / 0.5446 GB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01034/0.1241, allocations: 5.313 MB / 0.5498 GB, free: 11.36 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001956/0.126, allocations: 95.69 kB / 0.5499 GB, free: 11.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003159/0.1292, allocations: 1.258 MB / 0.5511 GB, free: 10 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/SynchronousMachines/Templates/SMEE_ShortCircuit.mo:18:3-19:30:writable] Warning: Conditional component 'ir' is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.004488/0.1337, allocations: 1.581 MB / 0.5527 GB, free: 8.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.136, allocations: 0.9815 MB / 0.5536 GB, free: 7.434 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005812/0.1418, allocations: 4.596 MB / 0.5581 GB, free: 2.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003435/0.1453, allocations: 2.436 MB / 0.5605 GB, free: 324 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002946/0.1482, allocations: 2.06 MB / 0.5625 GB, free: 14.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003413/0.1516, allocations: 2.358 MB / 0.5648 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007923/0.1524, allocations: 0.5586 MB / 0.5654 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.154, allocations: 0.7769 MB / 0.5661 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00122/0.1552, allocations: 1.246 MB / 0.5673 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00276/0.1579, allocations: 2.377 MB / 0.5697 GB, free: 6.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008648/0.1666, allocations: 7.342 MB / 0.5768 GB, free: 15.54 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.1666, allocations: 8 kB / 0.5768 GB, free: 15.54 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1666, allocations: 0 / 0.5768 GB, free: 15.54 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001239/0.1667, allocations: 0 / 0.5768 GB, free: 15.54 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01273/0.1795, allocations: 4.919 MB / 0.5816 GB, free: 10.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.1795, allocations: 12.03 kB / 0.5817 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005463/0.185, allocations: 0.9663 MB / 0.5826 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005856/0.1908, allocations: 2.75 MB / 0.5853 GB, free: 6.754 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002385/0.1911, allocations: 275.8 kB / 0.5856 GB, free: 6.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006824/0.1917, allocations: 372.1 kB / 0.5859 GB, free: 6.121 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008657/0.2004, allocations: 4.684 MB / 0.5905 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.177e-05/0.2005, allocations: 0 / 0.5905 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003689/0.2008, allocations: 152 kB / 0.5906 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001823/0.201, allocations: 159.3 kB / 0.5908 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007066/0.2081, allocations: 3.898 MB / 0.5946 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02415/0.2322, allocations: 15.39 MB / 0.6096 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006721/0.239, allocations: 5.892 MB / 0.6154 GB, free: 6.676 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002487/0.2414, allocations: 1.277 MB / 0.6166 GB, free: 5.395 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007358/0.2488, allocations: 4.192 MB / 0.6207 GB, free: 1.023 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.2488, allocations: 51.88 kB / 0.6208 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of pre-optimization done (n=133): time 3.036e-06/0.2488, allocations: 0 / 0.6208 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of matching and sorting (n=137): time 0.01041/0.2593, allocations: 5.179 MB / 0.6258 GB, free: 11.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.2593, allocations: 64.72 kB / 0.6259 GB, free: 11.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002964/0.2623, allocations: 1.992 MB / 0.6278 GB, free: 9.531 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.22e-05/0.2624, allocations: 49.7 kB / 0.6279 GB, free: 9.477 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001389/0.2637, allocations: 1.712 MB / 0.6295 GB, free: 7.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004326/0.2642, allocations: 0.5036 MB / 0.63 GB, free: 7.242 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005835/0.2648, allocations: 363.4 kB / 0.6304 GB, free: 6.883 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.2649, allocations: 305.1 kB / 0.6307 GB, free: 6.582 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/0.2661, allocations: 0.6637 MB / 0.6313 GB, free: 5.918 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001811/0.2679, allocations: 1.38 MB / 0.6327 GB, free: 4.207 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003131/0.271, allocations: 2.191 MB / 0.6348 GB, free: 1.691 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/0.271, allocations: 8 kB / 0.6348 GB, free: 1.684 MB / 446.1 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.004145/0.2752, allocations: 2.491 MB / 0.6372 GB, free: 15.16 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.2752, allocations: 16 kB / 0.6373 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.08e-05/0.2752, allocations: 27.98 kB / 0.6373 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004098/0.2757, allocations: 137.6 kB / 0.6374 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001698/0.2774, allocations: 463.3 kB / 0.6379 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/0.2796, allocations: 2.122 MB / 0.6399 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.2809, allocations: 84 kB / 0.64 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/0.2811, allocations: 91.98 kB / 0.6401 GB, free: 12.09 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * 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 (242): * Single equations (assignments): 240 * 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.001729/0.2828, allocations: 1.059 MB / 0.6411 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003195/0.2831, allocations: 226.6 kB / 0.6414 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003678/0.2868, allocations: 1.997 MB / 0.6433 GB, free: 8.742 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.2868, allocations: 15.94 kB / 0.6433 GB, free: 8.727 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.2868, allocations: 4 kB / 0.6433 GB, free: 8.723 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.2868, allocations: 7.984 kB / 0.6433 GB, free: 8.715 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007803/0.2946, allocations: 4.909 MB / 0.6481 GB, free: 3.664 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.2946, allocations: 0 / 0.6481 GB, free: 3.664 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009187/0.2956, allocations: 204 kB / 0.6483 GB, free: 3.465 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008993/0.2965, allocations: 334.2 kB / 0.6486 GB, free: 3.129 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.622e-05/0.2965, allocations: 35.98 kB / 0.6487 GB, free: 3.094 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1983/0.4949, allocations: 7.087 MB / 0.6556 GB, free: 104.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.4949, allocations: 3.953 kB / 0.6556 GB, free: 104.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004556/0.4995, allocations: 2.885 MB / 0.6584 GB, free: 103 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007908/0.5002, allocations: 441 kB / 0.6588 GB, free: 102.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002431/0.5005, allocations: 36.19 kB / 0.6589 GB, free: 102.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009599/0.5014, allocations: 57.91 kB / 0.6589 GB, free: 102.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002859/0.5017, allocations: 100.6 kB / 0.659 GB, free: 102.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.109e-05/0.5018, allocations: 42.3 kB / 0.6591 GB, free: 102.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001987/0.5038, allocations: 1.342 MB / 0.6604 GB, free: 102.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5038, allocations: 0.8438 kB / 0.6604 GB, free: 102.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002018/0.5058, allocations: 0.6003 MB / 0.661 GB, free: 102.2 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (smee.phiMechanical,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) * 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 (106): * Single equations (assignments): 103 * 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.0002705/0.5061, allocations: 169.5 kB / 0.6611 GB, free: 102 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002712/0.5088, allocations: 1.811 MB / 0.6629 GB, free: 101.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5088, allocations: 0 / 0.6629 GB, free: 101.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001554/0.5104, allocations: 1.165 MB / 0.664 GB, free: 100.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/0.5127, allocations: 0.5688 MB / 0.6646 GB, free: 100.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008206/0.5209, allocations: 6.055 MB / 0.6705 GB, free: 97.46 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001476/0.5223, allocations: 2.344 MB / 0.6728 GB, free: 96.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004556/0.5228, allocations: 152 kB / 0.6729 GB, free: 96.39 MB / 462.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5228, allocations: 0 / 0.6729 GB, free: 96.39 MB / 462.1 MB Notification: Performance of Templates: time 0.0644/0.5872, allocations: 85.38 MB / 0.7563 GB, free: 14.3 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.75819666706957] Failed to read output from testmodel.py, exit status != 0: 0.7441263049840927 0.6040440450000001 0.43504680900000003 Calling exit ...