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.0007396/0.0007396, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.8496/0.8496, allocations: 177.1 MB / 199.4 MB, free: 5.93 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.0009994/0.0009994, allocations: 152.6 kB / 256 MB, free: 13.33 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.02245/0.02245, allocations: 6.664 MB / 319 MB, free: 26.77 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: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 445.5 MB, free: 37.56 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.097e-05/1.245e-05, allocations: 6.219 kB / 445.5 MB, free: 37.55 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.008825/0.008837, allocations: 14.46 MB / 459.9 MB, free: 23.03 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005345/0.01418, allocations: 5.29 MB / 465.2 MB, free: 17.72 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.01519, allocations: 123.3 kB / 465.4 MB, free: 17.6 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001548/0.01674, allocations: 1.219 MB / 466.6 MB, free: 16.37 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001765/0.0185, allocations: 1.595 MB / 468.2 MB, free: 14.76 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009887/0.01949, allocations: 1.027 MB / 469.2 MB, free: 13.74 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002078/0.02157, allocations: 4.878 MB / 474.1 MB, free: 8.836 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.023, allocations: 1.913 MB / 476 MB, free: 6.859 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002106/0.0251, allocations: 3.111 MB / 479.1 MB, free: 3.742 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001212/0.02632, allocations: 1.94 MB / 481 MB, free: 1.797 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003483/0.02667, allocations: 0.5586 MB / 481.6 MB, free: 1.238 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007334/0.0274, allocations: 0.7847 MB / 482.4 MB, free: 464 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006047/0.028, allocations: 1.27 MB / 483.6 MB, free: 15.18 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.02906, allocations: 1.614 MB / 485.3 MB, free: 13.56 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004506/0.03357, allocations: 7.42 MB / 492.7 MB, free: 6.121 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.03357, allocations: 3.938 kB / 492.7 MB, free: 6.117 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.03357, allocations: 0 / 492.7 MB, free: 6.117 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.769e-05/0.03361, allocations: 0 / 492.7 MB, free: 6.117 MB / 346.7 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.00605/0.03966, allocations: 4.835 MB / 497.5 MB, free: 1.223 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.0397, allocations: 8.031 kB / 497.5 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000589/0.04029, allocations: 0.5607 MB / 498.1 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002468/0.04276, allocations: 0.9351 MB / 499 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003039/0.04579, allocations: 2.682 MB / 0.4899 GB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/0.04593, allocations: 279.8 kB / 0.4902 GB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003445/0.04627, allocations: 368.3 kB / 0.4906 GB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005058/0.05133, allocations: 4.847 MB / 0.4953 GB, free: 7.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.353e-05/0.05138, allocations: 0 / 0.4953 GB, free: 7.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002386/0.05162, allocations: 152 kB / 0.4954 GB, free: 7.262 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.145e-05/0.05171, allocations: 151.3 kB / 0.4956 GB, free: 7.113 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004416/0.05613, allocations: 3.901 MB / 0.4994 GB, free: 3.207 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01329/0.06942, allocations: 13.83 MB / 0.5129 GB, free: 4.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002785/0.07221, allocations: 2.508 MB / 0.5154 GB, free: 2.523 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001404/0.07361, allocations: 1.288 MB / 0.5166 GB, free: 1.234 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00405/0.07766, allocations: 3.375 MB / 0.5199 GB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.07769, allocations: 47.88 kB / 0.52 GB, free: 13.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=133): time 2.675e-06/0.07769, allocations: 0 / 0.52 GB, free: 13.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=137): time 0.005668/0.08336, allocations: 4.754 MB / 0.5246 GB, free: 8.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.0834, allocations: 72.72 kB / 0.5247 GB, free: 8.898 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002044/0.08544, allocations: 2.04 MB / 0.5267 GB, free: 6.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.108e-05/0.0855, allocations: 57.7 kB / 0.5267 GB, free: 6.758 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007746/0.08628, allocations: 1.704 MB / 0.5284 GB, free: 5.035 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002372/0.08651, allocations: 0.4919 MB / 0.5289 GB, free: 4.539 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003315/0.08685, allocations: 367.4 kB / 0.5292 GB, free: 4.176 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.466e-05/0.08691, allocations: 301.1 kB / 0.5295 GB, free: 3.879 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007167/0.08763, allocations: 0.6637 MB / 0.5301 GB, free: 3.215 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.08866, allocations: 1.405 MB / 0.5315 GB, free: 1.473 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002082/0.09074, allocations: 2.191 MB / 0.5337 GB, free: 14.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.09075, allocations: 8 kB / 0.5337 GB, free: 14.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.002384/0.09313, allocations: 2.42 MB / 0.536 GB, free: 12.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.09316, allocations: 19.94 kB / 0.536 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.09317, allocations: 24 kB / 0.5361 GB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002282/0.0934, allocations: 149.6 kB / 0.5362 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008604/0.09426, allocations: 463.3 kB / 0.5367 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.0955, allocations: 2.003 MB / 0.5386 GB, free: 9.754 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006454/0.09615, allocations: 87.89 kB / 0.5387 GB, free: 9.668 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.982e-05/0.09624, allocations: 95.98 kB / 0.5388 GB, free: 9.574 MB / 410.7 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.001034/0.09727, allocations: 1.055 MB / 0.5398 GB, free: 8.508 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004109/0.09768, allocations: 226.6 kB / 0.54 GB, free: 8.285 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00202/0.0997, allocations: 1.85 MB / 0.5418 GB, free: 6.414 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.09971, allocations: 12 kB / 0.5419 GB, free: 6.402 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.09972, allocations: 4 kB / 0.5419 GB, free: 6.398 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.09973, allocations: 11.92 kB / 0.5419 GB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004497/0.1042, allocations: 4.458 MB / 0.5462 GB, free: 1.824 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.1042, allocations: 4 kB / 0.5462 GB, free: 1.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00047/0.1047, allocations: 207.7 kB / 0.5464 GB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004854/0.1052, allocations: 326.6 kB / 0.5467 GB, free: 1.289 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.712e-05/0.1052, allocations: 39.98 kB / 0.5468 GB, free: 1.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004361/0.1096, allocations: 6.712 MB / 0.5533 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1096, allocations: 80 / 0.5533 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002852/0.1125, allocations: 2.745 MB / 0.556 GB, free: 7.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004523/0.1129, allocations: 370.5 kB / 0.5564 GB, free: 7.047 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.1131, allocations: 35.98 kB / 0.5564 GB, free: 7.012 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000467/0.1135, allocations: 48.09 kB / 0.5564 GB, free: 6.965 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.1137, allocations: 121 kB / 0.5566 GB, free: 6.844 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.835e-05/0.1137, allocations: 39.98 kB / 0.5566 GB, free: 6.805 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001212/0.1149, allocations: 1.344 MB / 0.5579 GB, free: 5.441 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1149, allocations: 4 kB / 0.5579 GB, free: 5.438 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001182/0.1161, allocations: 0.6132 MB / 0.5585 GB, free: 4.824 MB / 426.7 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.003228/0.1193, allocations: 3.352 MB / 0.5618 GB, free: 1.406 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.1218/0.2412, allocations: 1.737 MB / 0.5635 GB, free: 120.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.2412, allocations: 1.375 kB / 0.5635 GB, free: 120.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001406/0.2426, allocations: 1.162 MB / 0.5646 GB, free: 119.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/0.2444, allocations: 0.5751 MB / 0.5652 GB, free: 119.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02181/0.2662, allocations: 20.78 MB / 0.5855 GB, free: 104.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.2672, allocations: 1.862 MB / 0.5873 GB, free: 102.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000956/0.2682, allocations: 470.9 kB / 0.5877 GB, free: 102.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008753/0.269, allocations: 1.309 MB / 0.589 GB, free: 101.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.422e-06/0.269, allocations: 0 / 0.589 GB, free: 101.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05924/0.3283, allocations: 56.48 MB / 0.6442 GB, free: 45.13 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.542/8.87, allocations: 4.062 kB / 0.6442 GB, free: 45.12 MB / 426.7 MB " [Timeout remaining time 651] (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: 10.900493654422462] Failed to read output from testmodel.py, exit status != 0: 8.981834346428514 8.988250237 8.953370624 Calling exit ...