Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.0015/0.0015, 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.001763/0.001763, 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.464/1.464, 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.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",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: 68.77 kB / 378.6 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3163, allocations: 53.37 MB / 431.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01288/0.3292, allocations: 9.209 MB / 441.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006471/0.3357, allocations: 2.667 MB / 443.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/0.337, allocations: 79.62 kB / 443.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008694/0.3457, allocations: 3.768 MB / 447.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003051/0.3488, allocations: 0.7646 MB / 448.4 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002359/0.3511, allocations: 0.9455 MB / 449.4 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005101/0.3562, allocations: 3.65 MB / 453 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009279/0.3655, allocations: 6.187 MB / 459.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00332/0.3688, allocations: 2.143 MB / 461.3 MB, free: 9.309 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004118/0.373, allocations: 2.383 MB / 463.7 MB, free: 6.918 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001314/0.3743, allocations: 0.5859 MB / 464.3 MB, free: 6.332 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002238/0.3765, allocations: 0.82 MB / 465.1 MB, free: 5.512 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001171/0.3777, allocations: 1.111 MB / 466.2 MB, free: 4.398 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00338/0.3811, allocations: 2.284 MB / 468.5 MB, free: 2.105 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01067/0.3917, allocations: 7.929 MB / 476.4 MB, free: 10.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.167e-05/0.3917, allocations: 0 / 476.4 MB, free: 10.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3917, allocations: 0 / 476.4 MB, free: 10.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003329/0.3921, allocations: 0 / 476.4 MB, free: 10.15 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01529/0.4074, allocations: 4.861 MB / 481.3 MB, free: 5.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.4074, allocations: 8.031 kB / 481.3 MB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001322/0.4087, allocations: 0.5923 MB / 481.9 MB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008229/0.417, allocations: 1.29 MB / 483.2 MB, free: 3.328 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005163/0.4221, allocations: 2.313 MB / 485.5 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002975/0.4224, allocations: 308.4 kB / 485.8 MB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00109/0.4235, allocations: 415.9 kB / 486.2 MB, free: 284 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01341/0.4369, allocations: 5.481 MB / 491.7 MB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001458/0.4371, allocations: 0 / 491.7 MB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001057/0.4381, allocations: 172 kB / 491.9 MB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002435/0.4384, allocations: 176.6 kB / 492 MB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01091/0.4493, allocations: 4.816 MB / 496.9 MB, free: 5.566 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.037/0.4863, allocations: 18.54 MB / 0.5033 GB, free: 2.434 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00418/0.4905, allocations: 1.78 MB / 0.5051 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/0.4918, allocations: 0.7106 MB / 0.5058 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/0.492, allocations: 48.92 kB / 0.5058 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.664e-05/0.492, allocations: 47.5 kB / 0.5058 GB, free: 15.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=100): time 3.587e-06/0.4921, allocations: 0 / 0.5058 GB, free: 15.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=100): time 0.002729/0.4948, allocations: 1.566 MB / 0.5074 GB, free: 14.31 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.831e-05/0.4948, allocations: 64.34 kB / 0.5074 GB, free: 14.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002345/0.4972, allocations: 1.338 MB / 0.5087 GB, free: 12.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.83e-05/0.4973, allocations: 41.7 kB / 0.5088 GB, free: 12.83 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001466/0.4987, allocations: 1.831 MB / 0.5106 GB, free: 10.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003971/0.4991, allocations: 373 kB / 0.5109 GB, free: 10.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007214/0.4999, allocations: 459.6 kB / 0.5114 GB, free: 10.15 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002017/0.5001, allocations: 353.9 kB / 0.5117 GB, free: 9.801 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/0.5014, allocations: 0.8318 MB / 0.5125 GB, free: 8.965 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002195/0.5036, allocations: 1.827 MB / 0.5143 GB, free: 6.652 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003668/0.5073, allocations: 2.794 MB / 0.517 GB, free: 3.387 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.529e-05/0.5073, allocations: 8 kB / 0.517 GB, free: 3.379 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004784/0.5121, allocations: 2.743 MB / 0.5197 GB, free: 0.625 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.189e-05/0.5122, allocations: 20 kB / 0.5197 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.196e-05/0.5122, allocations: 32.09 kB / 0.5198 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.795e-05/0.5123, allocations: 52 kB / 0.5198 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001755/0.5141, allocations: 0.5225 MB / 0.5203 GB, free: 0 / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001042/0.5142, allocations: 71.72 kB / 0.5204 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.5156, allocations: 290 kB / 0.5207 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002/0.5158, allocations: 123.9 kB / 0.5208 GB, free: 15.52 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (272): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002541/0.5183, allocations: 1.488 MB / 0.5222 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003265/0.5186, allocations: 127.2 kB / 0.5224 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002521/0.5212, allocations: 1.462 MB / 0.5238 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00165/0.5228, allocations: 1.041 MB / 0.5248 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.5228, allocations: 0 / 0.5248 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.5228, allocations: 3.984 kB / 0.5248 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.261/0.7838, allocations: 11.06 MB / 0.5356 GB, free: 94.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001048/0.7839, allocations: 24.03 kB / 0.5356 GB, free: 94.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.785, allocations: 230.7 kB / 0.5359 GB, free: 94.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.361e-05/0.7851, allocations: 31.16 kB / 0.5359 GB, free: 94.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/0.7852, allocations: 49.84 kB / 0.5359 GB, free: 94.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.466e-05/0.7853, allocations: 43.11 kB / 0.536 GB, free: 94.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.959e-05/0.7853, allocations: 31.12 kB / 0.536 GB, free: 94.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003415/0.7887, allocations: 2.675 MB / 0.5386 GB, free: 93.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006898/0.7894, allocations: 272.2 kB / 0.5389 GB, free: 93.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001818/0.7896, allocations: 48.69 kB / 0.5389 GB, free: 93.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007865/0.7904, allocations: 65 kB / 0.539 GB, free: 93.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002023/0.7906, allocations: 148.3 kB / 0.5391 GB, free: 93.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.87e-05/0.7907, allocations: 62.69 kB / 0.5392 GB, free: 93.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001258/0.792, allocations: 0.9123 MB / 0.5401 GB, free: 93.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.792, allocations: 0 / 0.5401 GB, free: 93.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002476/0.7944, allocations: 0.878 MB / 0.5409 GB, free: 93.69 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 1 (voltageSource.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 (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.003511/0.7979, allocations: 3.309 MB / 0.5442 GB, free: 91.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002654/0.8006, allocations: 1.844 MB / 0.546 GB, free: 90.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.901e-05/0.8006, allocations: 3.938 kB / 0.546 GB, free: 90.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007406/0.8014, allocations: 0.6201 MB / 0.5466 GB, free: 90.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001877/0.8032, allocations: 342.1 kB / 0.5469 GB, free: 90.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02145/0.8247, allocations: 18.61 MB / 0.5651 GB, free: 76.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001991/0.8267, allocations: 2.809 MB / 0.5678 GB, free: 74.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001421/0.8281, allocations: 0.7643 MB / 0.5686 GB, free: 73.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/0.8291, allocations: 1.151 MB / 0.5697 GB, free: 72.79 MB / 446.1 MB Notification: Performance of SimCode: time 7.71e-07/0.8291, allocations: 0 / 0.5697 GB, free: 72.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07382/0.9029, allocations: 41.46 MB / 0.6102 GB, free: 31.49 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/11.39, allocations: 3.375 kB / 0.6102 GB, free: 31.49 MB / 446.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_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_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.94286991097033] Failed to read output from testmodel.py, exit status != 0: ['time', 'voltageSource.plug_p.reference.gamma'] 11.47856189031154 11.488221813000001 11.093293298 Calling exit ...