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.001055/0.001055, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.8999/0.8999, allocations: 177.2 MB / 199.4 MB, free: 5.957 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.001406/0.001406, allocations: 160.6 kB / 256 MB, free: 13.36 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.02179/0.02179, allocations: 6.668 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.754e-06/1.754e-06, allocations: 3.938 kB / 445.5 MB, free: 37.56 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.317e-05, allocations: 2.281 kB / 445.5 MB, free: 37.55 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01005/0.01007, allocations: 14.46 MB / 459.9 MB, free: 23.04 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00702/0.01709, allocations: 5.298 MB / 465.2 MB, free: 17.72 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002326/0.01942, allocations: 115.4 kB / 465.3 MB, free: 17.61 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002369/0.02178, allocations: 1.219 MB / 466.6 MB, free: 16.38 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003099/0.02488, allocations: 1.599 MB / 468.2 MB, free: 14.77 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.02633, allocations: 1.027 MB / 469.2 MB, free: 13.74 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003075/0.0294, allocations: 4.876 MB / 474.1 MB, free: 8.848 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001768/0.03117, allocations: 1.917 MB / 476 MB, free: 6.867 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002568/0.03374, allocations: 3.115 MB / 479.1 MB, free: 3.746 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001769/0.03551, allocations: 1.936 MB / 481 MB, free: 1.805 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006415/0.03615, allocations: 0.5586 MB / 481.6 MB, free: 1.246 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009117/0.03706, allocations: 0.7769 MB / 482.4 MB, free: 480 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006112/0.03767, allocations: 1.27 MB / 483.6 MB, free: 15.2 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00159/0.03926, allocations: 1.629 MB / 485.3 MB, free: 13.56 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005432/0.04469, allocations: 7.417 MB / 492.7 MB, free: 6.125 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.0447, allocations: 0 / 492.7 MB, free: 6.125 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.0447, allocations: 0 / 492.7 MB, free: 6.125 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001432/0.04484, allocations: 0 / 492.7 MB, free: 6.125 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.008679/0.05352, allocations: 4.839 MB / 497.5 MB, free: 1.227 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.05357, allocations: 11.97 kB / 497.5 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007542/0.05433, allocations: 0.549 MB / 498.1 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002689/0.05702, allocations: 0.9429 MB / 499 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003987/0.061, allocations: 2.678 MB / 0.4899 GB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/0.06115, allocations: 279.8 kB / 0.4902 GB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003969/0.06155, allocations: 364.3 kB / 0.4906 GB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006079/0.06763, allocations: 4.843 MB / 0.4953 GB, free: 7.426 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.16e-05/0.0677, allocations: 7.984 kB / 0.4953 GB, free: 7.418 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002454/0.06794, allocations: 156 kB / 0.4954 GB, free: 7.266 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001033/0.06805, allocations: 151.3 kB / 0.4956 GB, free: 7.117 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00502/0.07307, allocations: 3.897 MB / 0.4994 GB, free: 3.215 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01529/0.08836, allocations: 13.84 MB / 0.5129 GB, free: 4.934 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002885/0.09124, allocations: 2.516 MB / 0.5154 GB, free: 2.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/0.09269, allocations: 1.277 MB / 0.5166 GB, free: 1.242 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004392/0.09708, allocations: 3.371 MB / 0.5199 GB, free: 13.83 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.09712, allocations: 51.88 kB / 0.52 GB, free: 13.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=133): time 3.046e-06/0.09712, allocations: 3.938 kB / 0.52 GB, free: 13.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=137): time 0.006575/0.1037, allocations: 4.754 MB / 0.5246 GB, free: 8.984 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.1037, allocations: 68.72 kB / 0.5247 GB, free: 8.906 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002383/0.1061, allocations: 2.044 MB / 0.5267 GB, free: 6.824 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.809e-05/0.1062, allocations: 49.7 kB / 0.5267 GB, free: 6.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008114/0.107, allocations: 1.712 MB / 0.5284 GB, free: 5.039 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002659/0.1073, allocations: 0.4919 MB / 0.5289 GB, free: 4.543 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003389/0.1076, allocations: 363.4 kB / 0.5292 GB, free: 4.184 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.009e-05/0.1077, allocations: 305.1 kB / 0.5295 GB, free: 3.883 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007233/0.1084, allocations: 0.6598 MB / 0.5301 GB, free: 3.223 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.1094, allocations: 1.412 MB / 0.5315 GB, free: 1.473 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001862/0.1113, allocations: 2.187 MB / 0.5337 GB, free: 14.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.517e-05/0.1113, allocations: 8 kB / 0.5337 GB, free: 14.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.002671/0.114, allocations: 2.416 MB / 0.536 GB, free: 12.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.114, allocations: 23.92 kB / 0.5361 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.628e-05/0.114, allocations: 24 kB / 0.5361 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002448/0.1143, allocations: 150.2 kB / 0.5362 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008763/0.1151, allocations: 459.3 kB / 0.5367 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/0.1165, allocations: 2.003 MB / 0.5386 GB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009498/0.1175, allocations: 87.83 kB / 0.5387 GB, free: 9.676 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-05/0.1176, allocations: 91.98 kB / 0.5388 GB, free: 9.586 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.001379/0.1189, allocations: 1.063 MB / 0.5398 GB, free: 8.512 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002334/0.1192, allocations: 222.6 kB / 0.54 GB, free: 8.293 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002176/0.1214, allocations: 1.846 MB / 0.5418 GB, free: 6.426 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.1214, allocations: 12 kB / 0.5418 GB, free: 6.414 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.1214, allocations: 11.92 kB / 0.5419 GB, free: 6.402 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.1214, allocations: 7.984 kB / 0.5419 GB, free: 6.395 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005086/0.1265, allocations: 4.458 MB / 0.5462 GB, free: 1.832 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.1265, allocations: 4.281 kB / 0.5462 GB, free: 1.828 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004805/0.127, allocations: 215.7 kB / 0.5464 GB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004923/0.1274, allocations: 322.4 kB / 0.5467 GB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.604e-05/0.1275, allocations: 39.98 kB / 0.5468 GB, free: 1.254 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004287/0.1318, allocations: 6.694 MB / 0.5533 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1318, allocations: 4.078 kB / 0.5533 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002805/0.1346, allocations: 2.753 MB / 0.556 GB, free: 7.414 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006078/0.1352, allocations: 366.5 kB / 0.5564 GB, free: 7.055 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/0.1354, allocations: 32 kB / 0.5564 GB, free: 7.023 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004902/0.1359, allocations: 60.08 kB / 0.5564 GB, free: 6.965 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/0.136, allocations: 117 kB / 0.5566 GB, free: 6.848 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-05/0.1361, allocations: 39.98 kB / 0.5566 GB, free: 6.809 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00146/0.1375, allocations: 1.348 MB / 0.5579 GB, free: 5.441 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1375, allocations: 0 / 0.5579 GB, free: 5.441 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001425/0.139, allocations: 0.6054 MB / 0.5585 GB, free: 4.836 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.003045/0.142, allocations: 3.359 MB / 0.5618 GB, free: 1.414 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.1288/0.2708, allocations: 1.738 MB / 0.5635 GB, free: 123.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.2708, allocations: 1 kB / 0.5635 GB, free: 123.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00141/0.2722, allocations: 1.163 MB / 0.5646 GB, free: 123.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00177/0.274, allocations: 0.5797 MB / 0.5652 GB, free: 123.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02357/0.2976, allocations: 20.79 MB / 0.5855 GB, free: 108.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0012/0.2988, allocations: 1.864 MB / 0.5873 GB, free: 106.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00117/0.2999, allocations: 466.9 kB / 0.5877 GB, free: 106.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009003/0.3009, allocations: 1.301 MB / 0.589 GB, free: 105.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.182e-06/0.3009, allocations: 0 / 0.589 GB, free: 105.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0632/0.3641, allocations: 56.48 MB / 0.6442 GB, free: 49.17 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.913/9.277, allocations: 5.766 kB / 0.6442 GB, free: 49.17 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 & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3_res.csv --start-time 0 --stop-time 0.5 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0001 HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.37645175959915] Failed to read output from testmodel.py, exit status != 0: 9.39425953105092 9.40108803 9.354823875 Calling exit ...