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.001592/0.001592, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.001913/0.001913, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.476/1.476, allocations: 230.5 MB / 254.8 MB, free: 15.11 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.003244/0.003244, allocations: 75.81 kB / 373.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1272, allocations: 53.33 MB / 427 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005487/0.1327, allocations: 3.809 MB / 430.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2329/0.3655, allocations: 1.076 MB / 431.9 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006037/0.3661, allocations: 31.91 kB / 431.9 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004207/0.3666, allocations: 156 kB / 432.1 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009672/0.3675, allocations: 304.9 kB / 432.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.3678, allocations: 131.5 kB / 432.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001275/0.3691, allocations: 1.419 MB / 433.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009959/0.3701, allocations: 0.9099 MB / 434.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008333/0.3709, allocations: 0.6643 MB / 435.5 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009941/0.3719, allocations: 0.7976 MB / 436.3 MB, free: 7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002348/0.3721, allocations: 159.1 kB / 436.4 MB, free: 7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003357/0.3725, allocations: 162.2 kB / 436.6 MB, free: 7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004111/0.3729, allocations: 469.1 kB / 437.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007847/0.3737, allocations: 0.7429 MB / 437.8 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002561/0.3762, allocations: 2.083 MB / 439.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.3762, allocations: 4 kB / 439.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3762, allocations: 1.156 kB / 439.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.695e-05/0.3763, allocations: 0 / 439.9 MB, free: 5.797 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.003783/0.3801, allocations: 1.725 MB / 441.6 MB, free: 4.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.3801, allocations: 14.22 kB / 441.6 MB, free: 4.746 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002317/0.3803, allocations: 177.8 kB / 441.8 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000593/0.3809, allocations: 178.6 kB / 442 MB, free: 4.555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.3825, allocations: 0.9176 MB / 442.9 MB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-05/0.3826, allocations: 87.44 kB / 443 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/0.3828, allocations: 113.5 kB / 443.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002789/0.3856, allocations: 1.576 MB / 444.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.3856, allocations: 0.6562 kB / 444.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.3857, allocations: 48.19 kB / 444.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.412e-05/0.3857, allocations: 31.34 kB / 444.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002324/0.3881, allocations: 1.335 MB / 446.1 MB, free: 2.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007199/0.3953, allocations: 4.271 MB / 450.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.3964, allocations: 1.295 MB / 451.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009212/0.3973, allocations: 0.4935 MB / 452.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.605e-05/0.3974, allocations: 9.5 kB / 452.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.855e-05/0.3974, allocations: 38.47 kB / 452.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.465e-06/0.3974, allocations: 0 / 452.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.00186/0.3993, allocations: 0.8814 MB / 453.1 MB, free: 15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.62e-05/0.3993, allocations: 57.22 kB / 453.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/0.4008, allocations: 0.835 MB / 454 MB, free: 14.47 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.6e-05/0.4008, allocations: 36.33 kB / 454 MB, free: 14.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005048/0.4013, allocations: 0.5589 MB / 454.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.4015, allocations: 184.3 kB / 454.7 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/0.4017, allocations: 103.2 kB / 454.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002528/0.402, allocations: 391.3 kB / 455.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005286/0.4025, allocations: 300.3 kB / 455.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006146/0.4031, allocations: 401.2 kB / 455.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.4042, allocations: 0.6889 MB / 456.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.4042, allocations: 0.9688 kB / 456.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001366/0.4055, allocations: 0.8211 MB / 457.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.4056, allocations: 5.906 kB / 457.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.4056, allocations: 6.281 kB / 457.4 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/0.4056, allocations: 11.81 kB / 457.4 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006359/0.4062, allocations: 149 kB / 457.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.4063, allocations: 5.688 kB / 457.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004917/0.4067, allocations: 66.05 kB / 457.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.733e-05/0.4068, allocations: 27.14 kB / 457.7 MB, free: 12 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.0007903/0.4076, allocations: 460.7 kB / 458.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.4077, allocations: 80.66 kB / 458.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001989/0.4079, allocations: 93.56 kB / 458.3 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.4079, allocations: 5.906 kB / 458.3 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/0.4079, allocations: 0 / 458.3 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.408, allocations: 7.922 kB / 458.3 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003379/0.4113, allocations: 1.94 MB / 460.3 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.4113, allocations: 2.062 kB / 460.3 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004975/0.4118, allocations: 121.2 kB / 460.4 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.887e-05/0.4119, allocations: 6.953 kB / 460.4 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.639e-05/0.4119, allocations: 13.47 kB / 460.4 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.4119, allocations: 2.969 kB / 460.4 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4119, allocations: 1.719 kB / 460.4 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.4136, allocations: 1.126 MB / 461.5 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002615/0.4138, allocations: 176.9 kB / 461.7 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-05/0.4139, allocations: 14.56 kB / 461.7 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004112/0.4143, allocations: 50.14 kB / 461.8 MB, free: 9.414 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.4144, allocations: 43.2 kB / 461.8 MB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-05/0.4145, allocations: 15.47 kB / 461.8 MB, free: 9.387 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009094/0.4154, allocations: 0.5982 MB / 462.4 MB, free: 9.047 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4154, allocations: 0 / 462.4 MB, free: 9.047 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009167/0.4163, allocations: 284.9 kB / 462.7 MB, free: 8.969 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.002125/0.4184, allocations: 1.686 MB / 464.4 MB, free: 7.758 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.4196, allocations: 0.6348 MB / 465 MB, free: 7.453 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4196, allocations: 0.5625 kB / 465 MB, free: 7.453 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004356/0.42, allocations: 313 kB / 465.3 MB, free: 7.305 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009025/0.4209, allocations: 189.6 kB / 465.5 MB, free: 7.219 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/0.4339, allocations: 8.548 MB / 474.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/0.435, allocations: 1.348 MB / 475.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005613/0.4356, allocations: 207.9 kB / 475.6 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005577/0.4361, allocations: 387.3 kB / 476 MB, free: 13.96 MB / 382.1 MB Notification: Performance of SimCode: time 1.232e-06/0.4361, allocations: 0 / 476 MB, free: 13.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05333/0.4894, allocations: 19.32 MB / 495.3 MB, free: 10.89 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.126/9.616, allocations: 3.984 kB / 495.3 MB, free: 10.89 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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: 12.117646203842014] Failed to read output from testmodel.py, exit status != 0: ['time', 'transformerL.inductor[1].i', 'transformerL.inductor[2].i', 'transformerL.inductor[3].i'] 9.694819202180952 9.708294995 9.329047886 Calling exit ...