Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.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.001272/0.001272, 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.353/1.353, 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.001528/0.001528, allocations: 213.1 kB / 309.2 MB, free: 3.004 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.04028/0.04028, allocations: 8.925 MB / 374.6 MB, free: 1.773 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: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit1",fmuType="me",version="2.0",platforms={"static"}) [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.002439/0.002439, allocations: 83.88 kB / 0.4892 GB, free: 7.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2543, allocations: 55.59 MB / 0.5435 GB, free: 26.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.01184/0.2661, allocations: 14.45 MB / 0.5576 GB, free: 17.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008257/0.2743, allocations: 5.283 MB / 0.5628 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002479/0.2768, allocations: 116.4 kB / 0.5629 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002991/0.2798, allocations: 1.224 MB / 0.5641 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004299/0.2841, allocations: 1.54 MB / 0.5656 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002577/0.2867, allocations: 1.02 MB / 0.5666 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006561/0.2933, allocations: 4.637 MB / 0.5711 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003022/0.2963, allocations: 1.903 MB / 0.573 GB, free: 7.574 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003286/0.2996, allocations: 2.125 MB / 0.575 GB, free: 6.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003671/0.3032, allocations: 2.3 MB / 0.5773 GB, free: 5.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009736/0.3042, allocations: 0.5584 MB / 0.5778 GB, free: 5.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00184/0.306, allocations: 0.7725 MB / 0.5786 GB, free: 5.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009567/0.307, allocations: 1.241 MB / 0.5798 GB, free: 4.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002849/0.3099, allocations: 1.891 MB / 0.5816 GB, free: 3.516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007632/0.3175, allocations: 7.404 MB / 0.5889 GB, free: 13.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3175, allocations: 0 / 0.5889 GB, free: 13.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3175, allocations: 1.156 kB / 0.5889 GB, free: 13.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002135/0.3177, allocations: 4 kB / 0.5889 GB, free: 13.96 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.01353/0.3312, allocations: 4.889 MB / 0.5936 GB, free: 9.371 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.3313, allocations: 8.031 kB / 0.5937 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009621/0.3322, allocations: 0.5529 MB / 0.5942 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00486/0.3371, allocations: 0.9351 MB / 0.5951 GB, free: 7.863 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006271/0.3434, allocations: 2.687 MB / 0.5977 GB, free: 5.133 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000241/0.3436, allocations: 275.8 kB / 0.598 GB, free: 4.863 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006472/0.3443, allocations: 375.9 kB / 0.5983 GB, free: 4.496 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008896/0.3532, allocations: 4.825 MB / 0.6031 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.881e-05/0.3532, allocations: 7.938 kB / 0.6031 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003445/0.3536, allocations: 148 kB / 0.6032 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001688/0.3537, allocations: 159.3 kB / 0.6034 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006956/0.3607, allocations: 3.894 MB / 0.6072 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02472/0.3854, allocations: 13.64 MB / 0.6205 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004809/0.3902, allocations: 2.411 MB / 0.6228 GB, free: 10.99 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002353/0.3926, allocations: 1.183 MB / 0.624 GB, free: 9.805 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007697/0.4003, allocations: 3.195 MB / 0.6271 GB, free: 6.574 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.484e-05/0.4003, allocations: 55.5 kB / 0.6272 GB, free: 6.512 MB / 430.1 MB Notification: Performance of pre-optimization done (n=118): time 5.4e-06/0.4003, allocations: 3.984 kB / 0.6272 GB, free: 6.508 MB / 430.1 MB Notification: Performance of matching and sorting (n=144): time 0.01208/0.4124, allocations: 5.161 MB / 0.6322 GB, free: 1.324 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.4125, allocations: 72.72 kB / 0.6323 GB, free: 1.242 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003792/0.4163, allocations: 2.212 MB / 0.6344 GB, free: 15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000126/0.4164, allocations: 49.7 kB / 0.6345 GB, free: 14.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001467/0.4179, allocations: 1.79 MB / 0.6362 GB, free: 13.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005072/0.4184, allocations: 0.523 MB / 0.6368 GB, free: 12.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007166/0.4191, allocations: 420 kB / 0.6372 GB, free: 12.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.4192, allocations: 301.1 kB / 0.6374 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/0.4206, allocations: 0.7656 MB / 0.6382 GB, free: 11.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002068/0.4227, allocations: 1.566 MB / 0.6397 GB, free: 9.188 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01539/0.438, allocations: 4.791 MB / 0.6444 GB, free: 4.043 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.142e-05/0.4381, allocations: 8 kB / 0.6444 GB, free: 4.035 MB / 446.1 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.005476/0.4435, allocations: 2.794 MB / 0.6471 GB, free: 1.227 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.617e-05/0.4436, allocations: 16 kB / 0.6471 GB, free: 1.211 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.816e-05/0.4436, allocations: 28 kB / 0.6472 GB, free: 1.184 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000827/0.4445, allocations: 276.6 kB / 0.6474 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/0.4462, allocations: 495.2 kB / 0.6479 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004289/0.4505, allocations: 3.239 MB / 0.6511 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/0.4524, allocations: 99.81 kB / 0.6512 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000191/0.4526, allocations: 108 kB / 0.6513 GB, free: 12.87 MB / 462.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: smee.is[2] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * 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 (261): * Single equations (assignments): 259 * 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 {(2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002014/0.4546, allocations: 1.098 MB / 0.6523 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004504/0.455, allocations: 234.5 kB / 0.6526 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003316/0.4583, allocations: 1.755 MB / 0.6543 GB, free: 9.762 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.4583, allocations: 16 kB / 0.6543 GB, free: 9.746 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4584, allocations: 0 / 0.6543 GB, free: 9.746 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.795e-05/0.4584, allocations: 15.91 kB / 0.6543 GB, free: 9.73 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009356/0.4677, allocations: 4.632 MB / 0.6588 GB, free: 5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.4677, allocations: 4 kB / 0.6588 GB, free: 4.996 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/0.4689, allocations: 259.9 kB / 0.6591 GB, free: 4.742 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006491/0.4696, allocations: 215.4 kB / 0.6593 GB, free: 4.531 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001333/0.4697, allocations: 35.98 kB / 0.6593 GB, free: 4.496 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004298/0.474, allocations: 3.114 MB / 0.6624 GB, free: 1.273 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.474, allocations: 11.88 kB / 0.6624 GB, free: 1.262 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004862/0.4789, allocations: 2.669 MB / 0.665 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001443/0.4803, allocations: 398.4 kB / 0.6654 GB, free: 14.15 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006039/0.4809, allocations: 31.94 kB / 0.6654 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/0.4822, allocations: 55.95 kB / 0.6654 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000224/0.4824, allocations: 101.1 kB / 0.6655 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.4825, allocations: 43.98 kB / 0.6656 GB, free: 13.92 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002751/0.4852, allocations: 1.451 MB / 0.667 GB, free: 12.45 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4852, allocations: 4 kB / 0.667 GB, free: 12.45 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002706/0.488, allocations: 0.6289 MB / 0.6676 GB, free: 11.82 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (smee.phiMechanical,smee.stator.zeroInductor.i0,smee.stator.core.Phi.re,smee.stator.core.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 (125): * Single equations (assignments): 124 * 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 {(2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005006/0.493, allocations: 3.27 MB / 0.6708 GB, free: 8.492 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003713/0.4967, allocations: 1.991 MB / 0.6728 GB, free: 6.488 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.4967, allocations: 4.125 kB / 0.6728 GB, free: 6.484 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00154/0.4982, allocations: 0.8865 MB / 0.6736 GB, free: 5.586 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00306/0.5013, allocations: 0.589 MB / 0.6742 GB, free: 5.004 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2343/0.7356, allocations: 21.8 MB / 0.6955 GB, free: 120.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002172/0.7378, allocations: 1.888 MB / 0.6973 GB, free: 120.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001728/0.7395, allocations: 0.5005 MB / 0.6978 GB, free: 120.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001451/0.7409, allocations: 1.342 MB / 0.6991 GB, free: 120.4 MB / 494.1 MB Notification: Performance of SimCode: time 1.483e-06/0.7409, allocations: 0 / 0.6991 GB, free: 120.4 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09787/0.8388, allocations: 58.67 MB / 0.7564 GB, free: 86.29 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/14.12, allocations: 3.938 kB / 0.7564 GB, free: 86.29 MB / 494.1 MB " [Timeout remaining time 646] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit1_fmu --startTime=0 --stopTime=0.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-08 HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit1.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.093375083059072] Failed to read output from testmodel.py, exit status != 0: 14.264143843203783 14.278102597 13.958105075 Calling exit ...