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.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.001277/0.001277, allocations: 110.4 kB / 19.73 MB, free: 2.242 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.42/1.42, allocations: 230.6 MB / 253.4 MB, free: 14.49 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.001592/0.001592, allocations: 205.9 kB / 310 MB, free: 3.117 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.04026/0.04026, allocations: 8.913 MB / 375.4 MB, free: 6.781 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_ShortCircuit3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3",fmuType="cs",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.002506/0.002506, allocations: 79.88 kB / 0.49 GB, free: 44.87 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0868/0.0893, allocations: 55.62 MB / 0.5443 GB, free: 5.152 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01885/0.1082, allocations: 16.69 MB / 0.5606 GB, free: 4.387 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2169/0.3251, allocations: 5.607 MB / 0.5661 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003235/0.3283, allocations: 119.7 kB / 0.5662 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003772/0.3321, allocations: 1.27 MB / 0.5675 GB, free: 9.406 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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.005117/0.3372, allocations: 1.565 MB / 0.569 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002618/0.3398, allocations: 1.057 MB / 0.57 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006451/0.3463, allocations: 4.643 MB / 0.5746 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003064/0.3494, allocations: 2.002 MB / 0.5765 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003793/0.3531, allocations: 2.116 MB / 0.5786 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004484/0.3576, allocations: 2.483 MB / 0.581 GB, free: 6.789 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001191/0.3588, allocations: 0.5596 MB / 0.5816 GB, free: 6.789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00244/0.3613, allocations: 0.7995 MB / 0.5823 GB, free: 6.711 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001063/0.3623, allocations: 1.256 MB / 0.5836 GB, free: 5.898 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002985/0.3653, allocations: 2.382 MB / 0.5859 GB, free: 4.324 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009827/0.3751, allocations: 7.384 MB / 0.5931 GB, free: 0.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.3751, allocations: 0 / 0.5931 GB, free: 0.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.3751, allocations: 0 / 0.5931 GB, free: 0.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002777/0.3754, allocations: 0 / 0.5931 GB, free: 0.75 MB / 382.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.01589/0.3913, allocations: 4.894 MB / 0.5979 GB, free: 13.49 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.3914, allocations: 13.52 kB / 0.5979 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001874/0.3915, allocations: 114.5 kB / 0.598 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001112/0.3927, allocations: 0.5511 MB / 0.5985 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00536/0.398, allocations: 0.94 MB / 0.5995 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007535/0.4056, allocations: 2.698 MB / 0.6021 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002617/0.4058, allocations: 273.9 kB / 0.6024 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001052/0.4069, allocations: 374.4 kB / 0.6027 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008926/0.4158, allocations: 4.697 MB / 0.6073 GB, free: 7.734 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.847e-05/0.4159, allocations: 3.953 kB / 0.6073 GB, free: 7.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003354/0.4162, allocations: 148.3 kB / 0.6074 GB, free: 7.617 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001236/0.4163, allocations: 160.2 kB / 0.6076 GB, free: 7.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006958/0.4233, allocations: 3.913 MB / 0.6114 GB, free: 5.148 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02642/0.4497, allocations: 15.13 MB / 0.6262 GB, free: 5.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004716/0.4544, allocations: 2.526 MB / 0.6287 GB, free: 3.344 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002321/0.4568, allocations: 1.293 MB / 0.6299 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00757/0.4643, allocations: 3.734 MB / 0.6336 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/0.4644, allocations: 47.81 kB / 0.6336 GB, free: 14.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=135): time 2.996e-06/0.4644, allocations: 0 / 0.6336 GB, free: 14.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.01362/0.478, allocations: 6.001 MB / 0.6395 GB, free: 8.262 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.478, allocations: 68.72 kB / 0.6395 GB, free: 8.184 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003127/0.4812, allocations: 2.006 MB / 0.6415 GB, free: 6.141 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001318/0.4813, allocations: 53.7 kB / 0.6415 GB, free: 6.082 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001297/0.4826, allocations: 1.727 MB / 0.6432 GB, free: 4.348 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000497/0.4831, allocations: 0.5684 MB / 0.6438 GB, free: 3.785 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006036/0.4837, allocations: 391.8 kB / 0.6442 GB, free: 3.395 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.4838, allocations: 305.1 kB / 0.6445 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/0.4851, allocations: 0.7538 MB / 0.6452 GB, free: 2.336 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001775/0.4868, allocations: 1.477 MB / 0.6466 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003199/0.49, allocations: 2.414 MB / 0.649 GB, free: 13.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.4901, allocations: 4 kB / 0.649 GB, free: 13.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.005012/0.4951, allocations: 2.817 MB / 0.6517 GB, free: 10.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.677e-05/0.4951, allocations: 16 kB / 0.6518 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.193e-05/0.4951, allocations: 24 kB / 0.6518 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009504/0.4961, allocations: 337 kB / 0.6521 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/0.4978, allocations: 475.3 kB / 0.6526 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005713/0.5035, allocations: 4.951 MB / 0.6574 GB, free: 4.941 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002035/0.5056, allocations: 91.77 kB / 0.6575 GB, free: 4.855 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001828/0.5058, allocations: 99.98 kB / 0.6576 GB, free: 4.758 MB / 446.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 (249): * Single equations (assignments): 246 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(2,15,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002143/0.5079, allocations: 1.075 MB / 0.6586 GB, free: 3.672 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005132/0.5084, allocations: 234.5 kB / 0.6588 GB, free: 3.441 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003904/0.5123, allocations: 2.129 MB / 0.6609 GB, free: 1.297 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/0.5123, allocations: 16 kB / 0.6609 GB, free: 1.281 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.5124, allocations: 8 kB / 0.661 GB, free: 1.273 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.5124, allocations: 11.91 kB / 0.661 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008804/0.5212, allocations: 5.278 MB / 0.6661 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.447e-06/0.5212, allocations: 4 kB / 0.6661 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/0.5223, allocations: 256 kB / 0.6664 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009634/0.5232, allocations: 366.3 kB / 0.6667 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/0.5234, allocations: 39.92 kB / 0.6668 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007626/0.531, allocations: 7.028 MB / 0.6736 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.531, allocations: 3.938 kB / 0.6736 GB, free: 3.879 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005272/0.5363, allocations: 3.165 MB / 0.6767 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/0.5375, allocations: 410.4 kB / 0.6771 GB, free: 256 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006898/0.5382, allocations: 32 kB / 0.6771 GB, free: 224 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00147/0.5397, allocations: 67.91 kB / 0.6772 GB, free: 156 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002869/0.54, allocations: 117 kB / 0.6773 GB, free: 40 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/0.5401, allocations: 48.03 kB / 0.6774 GB, free: 15.99 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002714/0.5428, allocations: 1.359 MB / 0.6787 GB, free: 14.61 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5428, allocations: 4 kB / 0.6787 GB, free: 14.61 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003131/0.546, allocations: 0.6328 MB / 0.6793 GB, free: 13.98 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 ($outputAlias_ie,smee.phiMechanical,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.stator.stray.Phi.re,smee.stator.stray.Phi.im) * 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 (129): * Single equations (assignments): 126 * 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 {(2,15,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005835/0.5518, allocations: 3.794 MB / 0.683 GB, free: 10.11 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003938/0.5557, allocations: 2.185 MB / 0.6851 GB, free: 7.902 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.343e-06/0.5557, allocations: 4 kB / 0.6851 GB, free: 7.898 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002081/0.5578, allocations: 1.293 MB / 0.6864 GB, free: 6.566 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002918/0.5607, allocations: 0.5978 MB / 0.687 GB, free: 5.977 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03816/0.5989, allocations: 22.04 MB / 0.7085 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00309/0.602, allocations: 2.439 MB / 0.7109 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001756/0.6037, allocations: 487.6 kB / 0.7114 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002079/0.6058, allocations: 1.327 MB / 0.7127 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of SimCode: time 9.42e-07/0.6058, allocations: 0 / 0.7127 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1159/0.7217, allocations: 58.24 MB / 0.7695 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.65/16.37, allocations: 11.92 kB / 0.7695 GB, free: 0.8516 MB / 0.545 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3_fmu --startTime=0 --stopTime=0.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-08 HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.1261241780594] Failed to read output from testmodel.py, exit status != 0: 16.736877353978343 16.748737396 16.370654617 Calling exit ...