Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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.001481/0.001481, 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.001583/0.001583, 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.461/1.461, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",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.001922/0.001922, allocations: 60.77 kB / 378.5 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.3001, allocations: 53.37 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007511/0.3076, allocations: 5.678 MB / 437.6 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003951/0.3116, allocations: 1.896 MB / 439.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004429/0.312, allocations: 16 kB / 439.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003699/0.3157, allocations: 1.629 MB / 441.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001788/0.3175, allocations: 0.5979 MB / 441.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009261/0.3184, allocations: 422.8 kB / 442.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001056/0.3195, allocations: 0.8017 MB / 442.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.3207, allocations: 0.7587 MB / 443.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005249/0.3213, allocations: 362.7 kB / 444.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006013/0.3219, allocations: 0.4903 MB / 444.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.322, allocations: 80 kB / 444.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000584/0.3226, allocations: 243.8 kB / 444.9 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.3227, allocations: 183.3 kB / 445 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004016/0.3231, allocations: 421.9 kB / 445.5 MB, free: 9.293 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.3246, allocations: 1.176 MB / 446.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3246, allocations: 0 / 446.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3246, allocations: 0 / 446.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.3246, allocations: 0 / 446.6 MB, free: 8.117 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003389/0.328, allocations: 1.3 MB / 447.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.3281, allocations: 12.03 kB / 447.9 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001928/0.3283, allocations: 152.3 kB / 448.1 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004359/0.3326, allocations: 0.6208 MB / 448.7 MB, free: 5.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007448/0.3334, allocations: 357.4 kB / 449.1 MB, free: 5.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.783e-05/0.3334, allocations: 74.38 kB / 449.1 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.3336, allocations: 92.38 kB / 449.2 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.3354, allocations: 0.9938 MB / 450.2 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.158e-05/0.3355, allocations: 4 kB / 450.2 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-05/0.3356, allocations: 47.92 kB / 450.3 MB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.837e-05/0.3356, allocations: 24 kB / 450.3 MB, free: 4.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.3373, allocations: 0.9291 MB / 451.2 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00495/0.3423, allocations: 3.166 MB / 454.4 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/0.3441, allocations: 0.7595 MB / 455.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004583/0.3446, allocations: 252.5 kB / 455.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/0.3447, allocations: 32.53 kB / 455.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.954e-05/0.3447, allocations: 47.16 kB / 455.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.655e-06/0.3447, allocations: 0 / 455.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.001512/0.3463, allocations: 0.7318 MB / 456.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.924e-05/0.3463, allocations: 107.7 kB / 456.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003514/0.3467, allocations: 277.8 kB / 456.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.571e-05/0.3468, allocations: 37.64 kB / 456.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002851/0.347, allocations: 391.9 kB / 457 MB, free: 13.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/0.3472, allocations: 234 kB / 457.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002071/0.3475, allocations: 138.6 kB / 457.4 MB, free: 13.06 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.3476, allocations: 346.8 kB / 457.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000428/0.3481, allocations: 225.9 kB / 457.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006/0.3487, allocations: 439.4 kB / 458.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.3498, allocations: 0.6969 MB / 459 MB, free: 11.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3498, allocations: 4 kB / 459.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001398/0.3512, allocations: 0.7581 MB / 459.8 MB, free: 10.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.3512, allocations: 12.78 kB / 459.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.3512, allocations: 4 kB / 459.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.076e-05/0.3512, allocations: 12 kB / 459.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007141/0.352, allocations: 191.7 kB / 460 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.468e-05/0.352, allocations: 19.92 kB / 460 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004086/0.3524, allocations: 79.41 kB / 460.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.886e-05/0.3524, allocations: 39.98 kB / 460.2 MB, free: 10.07 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (98): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003373/0.3528, allocations: 217.6 kB / 460.4 MB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.3529, allocations: 51.7 kB / 460.4 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001242/0.3541, allocations: 0.6423 MB / 461.1 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/0.3542, allocations: 8 kB / 461.1 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.3542, allocations: 0 / 461.1 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.3542, allocations: 7.984 kB / 461.1 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/0.3566, allocations: 1.447 MB / 462.5 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3566, allocations: 0 / 462.5 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005984/0.3572, allocations: 147.8 kB / 462.7 MB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.3572, allocations: 3.938 kB / 462.7 MB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.031e-05/0.3573, allocations: 19.98 kB / 462.7 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.009e-05/0.3573, allocations: 7.938 kB / 462.7 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3573, allocations: 0 / 462.7 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.359, allocations: 1.127 MB / 463.8 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.823e-05/0.3591, allocations: 47.62 kB / 463.9 MB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.043e-05/0.3591, allocations: 12 kB / 463.9 MB, free: 6.258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003496/0.3595, allocations: 31.98 kB / 463.9 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.3596, allocations: 44.58 kB / 464 MB, free: 6.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.794e-05/0.3596, allocations: 19.98 kB / 464 MB, free: 6.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002067/0.3598, allocations: 181.2 kB / 464.2 MB, free: 5.984 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3598, allocations: 4 kB / 464.2 MB, free: 5.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007836/0.3606, allocations: 231.3 kB / 464.4 MB, free: 5.754 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_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 (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002248/0.3628, allocations: 1.715 MB / 466.1 MB, free: 4.016 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001197/0.364, allocations: 0.5758 MB / 466.7 MB, free: 3.438 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.364, allocations: 0 / 466.7 MB, free: 3.438 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004792/0.3645, allocations: 275.6 kB / 467 MB, free: 3.168 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005591/0.3651, allocations: 41.92 kB / 467 MB, free: 3.129 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007386/0.3725, allocations: 4.843 MB / 471.8 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006319/0.3731, allocations: 0.9006 MB / 472.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003114/0.3734, allocations: 76.39 kB / 472.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003511/0.3738, allocations: 259.3 kB / 473.1 MB, free: 12.76 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3738, allocations: 0 / 473.1 MB, free: 12.76 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04186/0.4156, allocations: 10.24 MB / 483.3 MB, free: 2.621 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.857/9.273, allocations: 7.391 kB / 483.3 MB, free: 2.617 MB / 382.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.652673558332026] Failed to read output from testmodel.py, exit status != 0: ['time', 'load.pin_p.reference.gamma', 'voltageSource.pin_p.reference.gamma', 'idealTransformer.v1.re', 'idealTransformer.v1.im', 'idealTransformer.i1.re', 'idealTransformer.i1.im', 'idealTransformer.v2.re', 'idealTransformer.v2.im', 'idealTransformer.i2.re', 'idealTransformer.i2.im'] 9.35058872262016 9.370580629 9.042103536 Calling exit ...