Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.001303/0.001303, allocations: 110.5 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.001433/0.001433, allocations: 211.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.442/1.442, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_TransformerYD",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.001952/0.001952, allocations: 60.77 kB / 378.5 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.316, allocations: 53.37 MB / 431.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.006728/0.3227, allocations: 3.836 MB / 435.7 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002713/0.3254, allocations: 1.087 MB / 436.8 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003036/0.3257, allocations: 35.75 kB / 436.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003606/0.3261, allocations: 154.8 kB / 437 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009144/0.327, allocations: 310.3 kB / 437.3 MB, free: 1.457 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.3273, allocations: 147.7 kB / 437.5 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001734/0.329, allocations: 1.412 MB / 438.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009461/0.3299, allocations: 0.6552 MB / 439.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000945/0.3309, allocations: 0.662 MB / 440.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001177/0.3321, allocations: 0.7979 MB / 441 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002139/0.3323, allocations: 160 kB / 441.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002797/0.3326, allocations: 160 kB / 441.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004751/0.333, allocations: 482.6 kB / 441.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008558/0.3339, allocations: 0.735 MB / 442.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002479/0.3364, allocations: 2.087 MB / 444.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3364, allocations: 0 / 444.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.3364, allocations: 0 / 444.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.002e-05/0.3364, allocations: 0 / 444.6 MB, free: 10.12 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.003243/0.3397, allocations: 1.652 MB / 446.2 MB, free: 8.434 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.3397, allocations: 12.03 kB / 446.3 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002341/0.3399, allocations: 177.3 kB / 446.4 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005021/0.3404, allocations: 180 kB / 446.6 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/0.342, allocations: 0.8708 MB / 447.5 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.473e-05/0.342, allocations: 86.19 kB / 447.6 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001821/0.3422, allocations: 108 kB / 447.7 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002573/0.3448, allocations: 1.576 MB / 449.2 MB, free: 5.352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.3448, allocations: 4 kB / 449.2 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.3449, allocations: 44 kB / 449.3 MB, free: 5.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.485e-05/0.3449, allocations: 28 kB / 449.3 MB, free: 5.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002265/0.3472, allocations: 1.332 MB / 450.7 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00724/0.3545, allocations: 4.207 MB / 454.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.3555, allocations: 0.6247 MB / 455.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008865/0.3563, allocations: 0.4983 MB / 456 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.3564, allocations: 4.438 kB / 456 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/0.3564, allocations: 46.94 kB / 456 MB, free: 14.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 4.378e-06/0.3564, allocations: 7.938 kB / 456 MB, free: 14.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.001545/0.358, allocations: 0.8772 MB / 456.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.358, allocations: 55.84 kB / 457 MB, free: 13.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.3591, allocations: 0.8322 MB / 457.8 MB, free: 12.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/0.3592, allocations: 37.7 kB / 457.8 MB, free: 12.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004469/0.3596, allocations: 0.5545 MB / 458.4 MB, free: 12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.3598, allocations: 190.4 kB / 458.6 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.36, allocations: 106.3 kB / 458.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002189/0.3602, allocations: 386.8 kB / 459.1 MB, free: 11.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000481/0.3607, allocations: 301.1 kB / 459.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005589/0.3612, allocations: 403.3 kB / 459.7 MB, free: 10.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.3622, allocations: 0.6815 MB / 460.4 MB, free: 9.883 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3622, allocations: 0 / 460.4 MB, free: 9.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001322/0.3636, allocations: 0.8248 MB / 461.3 MB, free: 9.051 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.3636, allocations: 7.984 kB / 461.3 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.3636, allocations: 4 kB / 461.3 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.3636, allocations: 4 kB / 461.3 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005894/0.3642, allocations: 143.8 kB / 461.4 MB, free: 8.895 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/0.3642, allocations: 16.14 kB / 461.4 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003687/0.3646, allocations: 71.55 kB / 461.5 MB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/0.3646, allocations: 23.98 kB / 461.5 MB, free: 8.785 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * 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.0006511/0.3653, allocations: 461.4 kB / 462 MB, free: 8.324 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.3654, allocations: 75.53 kB / 462 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00016/0.3656, allocations: 91.06 kB / 462.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.3656, allocations: 8 kB / 462.1 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.3656, allocations: 3.938 kB / 462.1 MB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.3656, allocations: 0 / 462.1 MB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003039/0.3686, allocations: 1.925 MB / 464.1 MB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.3686, allocations: 0 / 464.1 MB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005031/0.3691, allocations: 123.8 kB / 464.2 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.3691, allocations: 0 / 464.2 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/0.3692, allocations: 16 kB / 464.2 MB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.3692, allocations: 0 / 464.2 MB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.3692, allocations: 4 kB / 464.2 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.3709, allocations: 1.13 MB / 465.3 MB, free: 4.859 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.371, allocations: 103.4 kB / 465.4 MB, free: 4.758 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.441e-05/0.3711, allocations: 15.94 kB / 465.5 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003796/0.3715, allocations: 43.95 kB / 465.5 MB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.3716, allocations: 48.3 kB / 465.5 MB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/0.3716, allocations: 16 kB / 465.6 MB, free: 4.637 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008041/0.3724, allocations: 0.5966 MB / 466.2 MB, free: 4.043 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3724, allocations: 0 / 466.2 MB, free: 4.043 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007413/0.3732, allocations: 291.1 kB / 466.4 MB, free: 3.758 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,transformerL.inductor[2].i,transformerL.inductor[3].i) * 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 (52): * Single equations (assignments): 52 * 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.00198/0.3752, allocations: 1.678 MB / 468.1 MB, free: 2.035 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.3763, allocations: 0.6298 MB / 468.8 MB, free: 1.402 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3763, allocations: 3.938 kB / 468.8 MB, free: 1.398 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004682/0.3767, allocations: 314.2 kB / 469.1 MB, free: 1.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008496/0.3776, allocations: 187.8 kB / 469.2 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01228/0.3899, allocations: 8.552 MB / 477.8 MB, free: 8.176 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/0.3909, allocations: 1.348 MB / 479.1 MB, free: 6.801 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005329/0.3915, allocations: 209.8 kB / 479.4 MB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005144/0.392, allocations: 387.3 kB / 479.7 MB, free: 6.215 MB / 382.1 MB Notification: Performance of SimCode: time 9.51e-07/0.392, allocations: 0 / 479.7 MB, free: 6.215 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0573/0.4493, allocations: 19.68 MB / 499.4 MB, free: 2.746 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.15/9.599, allocations: 18.72 kB / 499.4 MB, free: 2.73 MB / 398.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_TransformerYD_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_TransformerYD.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.95139218820259] Failed to read output from testmodel.py, exit status != 0: ['time', 'transformerL.inductor[1].i', 'transformerL.inductor[2].i', 'transformerL.inductor[3].i'] 9.68074844731018 9.704604524 9.363722058 Calling exit ...