Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001541/0.001541, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001682/0.001682, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.448/1.448, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003262/0.003262, allocations: 72.77 kB / 378.6 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3341, allocations: 53.36 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.03302/0.3671, allocations: 28.77 MB / 460.7 MB, free: 9.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02001/0.3871, allocations: 7.218 MB / 467.9 MB, free: 2.742 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007375/0.3945, allocations: 318.4 kB / 468.2 MB, free: 2.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0307/0.4252, allocations: 13.25 MB / 481.5 MB, free: 5.152 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01204/0.4372, allocations: 2.633 MB / 484.1 MB, free: 2.508 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007114/0.4443, allocations: 2.103 MB / 486.2 MB, free: 424 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02644/0.4708, allocations: 18.55 MB / 0.4929 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06054/0.5313, allocations: 28.39 MB / 0.5207 GB, free: 1.188 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01895/0.5503, allocations: 10.15 MB / 0.5306 GB, free: 7.023 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4795/1.03, allocations: 11.15 MB / 0.5415 GB, free: 32.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008636/1.038, allocations: 2.92 MB / 0.5443 GB, free: 32.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01164/1.05, allocations: 3.2 MB / 0.5474 GB, free: 32.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01122/1.061, allocations: 5.488 MB / 0.5528 GB, free: 32.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02173/1.083, allocations: 10.82 MB / 0.5634 GB, free: 29.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03934/1.122, allocations: 39.1 MB / 0.6015 GB, free: 5.527 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/1.122, allocations: 0 / 0.6015 GB, free: 5.527 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.455e-06/1.122, allocations: 0 / 0.6015 GB, free: 5.527 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001289/1.124, allocations: 0 / 0.6015 GB, free: 5.527 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.0719/1.196, allocations: 22.25 MB / 0.6233 GB, free: 2.086 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.224e-05/1.196, allocations: 8.031 kB / 0.6233 GB, free: 2.078 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01193/1.208, allocations: 2.967 MB / 0.6262 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04715/1.255, allocations: 8.239 MB / 0.6342 GB, free: 6.945 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02869/1.283, allocations: 11.89 MB / 0.6458 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00164/1.285, allocations: 1.342 MB / 0.6471 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008251/1.293, allocations: 1.76 MB / 0.6489 GB, free: 8.375 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08119/1.374, allocations: 28.78 MB / 0.677 GB, free: 11.56 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007171/1.375, allocations: 19.89 kB / 0.677 GB, free: 11.54 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005931/1.381, allocations: 0.7234 MB / 0.6777 GB, free: 10.83 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000962/1.382, allocations: 0.8493 MB / 0.6785 GB, free: 9.977 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05957/1.442, allocations: 24.84 MB / 0.7028 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4895/1.931, allocations: 85.99 MB / 0.7868 GB, free: 109.2 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02351/1.955, allocations: 12.88 MB / 0.7993 GB, free: 108.8 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009471/1.964, allocations: 5.039 MB / 0.8042 GB, free: 108.7 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007168/1.965, allocations: 173.2 kB / 0.8044 GB, free: 108.7 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001255/1.965, allocations: 92.64 kB / 0.8045 GB, free: 108.7 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=577): time 1.53e-05/1.965, allocations: 0 / 0.8045 GB, free: 108.7 MB / 0.5763 GB Notification: Performance of matching and sorting (n=577): time 0.03637/2.001, allocations: 14.7 MB / 0.8189 GB, free: 107.1 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.814e-05/2.001, allocations: 133.9 kB / 0.819 GB, free: 107 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01256/2.014, allocations: 6.438 MB / 0.8253 GB, free: 105.4 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001099/2.015, allocations: 115.7 kB / 0.8254 GB, free: 105.3 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.005243/2.02, allocations: 7.904 MB / 0.8331 GB, free: 98.39 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002918/2.023, allocations: 2.105 MB / 0.8352 GB, free: 96.58 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0074/2.031, allocations: 2.117 MB / 0.8372 GB, free: 95.37 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.508e-05/2.031, allocations: 301.1 kB / 0.8375 GB, free: 95.07 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007515/2.038, allocations: 4.742 MB / 0.8421 GB, free: 92.55 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01104/2.049, allocations: 9.477 MB / 0.8514 GB, free: 83.61 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01923/2.068, allocations: 15.33 MB / 0.8664 GB, free: 68.64 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002815/2.069, allocations: 44 kB / 0.8664 GB, free: 68.6 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02863/2.097, allocations: 15.41 MB / 0.8815 GB, free: 54.1 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002658/2.098, allocations: 76.5 kB / 0.8815 GB, free: 54.03 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003405/2.098, allocations: 160 kB / 0.8817 GB, free: 53.87 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005557/2.103, allocations: 1.653 MB / 0.8833 GB, free: 52.21 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008401/2.112, allocations: 2.366 MB / 0.8856 GB, free: 50.03 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01457/2.126, allocations: 11.52 MB / 0.8969 GB, free: 38.49 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009474/2.136, allocations: 1.374 MB / 0.8982 GB, free: 37.11 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002227/2.138, allocations: 0.5351 MB / 0.8987 GB, free: 36.57 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1243): * Single equations (assignments): 1240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01381/2.152, allocations: 7.14 MB / 0.9057 GB, free: 29.6 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002401/2.154, allocations: 0.6403 MB / 0.9063 GB, free: 28.95 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01828/2.173, allocations: 10.08 MB / 0.9162 GB, free: 18.8 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01151/2.184, allocations: 7.767 MB / 0.9237 GB, free: 10.99 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.265e-05/2.184, allocations: 12 kB / 0.9238 GB, free: 10.98 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.662e-05/2.184, allocations: 31.83 kB / 0.9238 GB, free: 10.95 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05991/2.244, allocations: 25.36 MB / 0.9486 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.359e-05/2.244, allocations: 8 kB / 0.9486 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004924/2.249, allocations: 1.026 MB / 0.9496 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005731/2.255, allocations: 1.466 MB / 0.951 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001079/2.256, allocations: 132 kB / 0.9511 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01847/2.274, allocations: 11.06 MB / 0.9619 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.356e-05/2.274, allocations: 15.66 kB / 0.9619 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02979/2.304, allocations: 14.13 MB / 0.9757 GB, free: 5.461 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004826/2.309, allocations: 1.451 MB / 0.9772 GB, free: 4.004 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002224/2.311, allocations: 107.9 kB / 0.9773 GB, free: 3.898 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004165/2.315, allocations: 315.7 kB / 0.9776 GB, free: 3.59 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001512/2.317, allocations: 427.8 kB / 0.978 GB, free: 3.176 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009029/2.318, allocations: 179.9 kB / 0.9781 GB, free: 3 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.2863/2.604, allocations: 4.301 MB / 0.9823 GB, free: 217.6 MB / 0.6232 GB Notification: Performance of sort global known variables: time 2.1e-07/2.604, allocations: 0 / 0.9823 GB, free: 217.6 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01418/2.618, allocations: 4.088 MB / 0.9863 GB, free: 217.2 MB / 0.6232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 1 (source.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (528): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02024/2.639, allocations: 14.93 MB / 1.001 GB, free: 212.9 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.01784/2.656, allocations: 10.96 MB / 1.012 GB, free: 208.8 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 2.193e-05/2.657, allocations: 0 / 1.012 GB, free: 208.8 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.007042/2.664, allocations: 4.341 MB / 1.016 GB, free: 207.1 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007835/2.671, allocations: 1.566 MB / 1.017 GB, free: 206.5 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1665/2.838, allocations: 94.77 MB / 1.11 GB, free: 123.6 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02467/2.863, allocations: 11.26 MB / 1.121 GB, free: 112.3 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.01171/2.874, allocations: 3.77 MB / 1.125 GB, free: 108.5 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01134/2.886, allocations: 5.947 MB / 1.13 GB, free: 102.6 MB / 0.6232 GB Notification: Performance of SimCode: time 2.013e-06/2.886, allocations: 0 / 1.13 GB, free: 102.6 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5999/3.486, allocations: 212.7 MB / 1.338 GB, free: 152.2 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.12/31.6, allocations: 4 kB / 1.338 GB, free: 152.2 MB / 0.6232 GB " [Timeout remaining time 628] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 34.762028499972075] Failed to read output from testmodel.py, exit status != 0: ['time', 'source.plug_p.reference.gamma'] 31.797258662059903 31.815715685 30.68914793 Calling exit ...