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.UnsymmetricalLoad.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.001348/0.001348, allocations: 122.5 kB / 18.51 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.001452/0.001452, allocations: 215.2 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.536/1.536, allocations: 230.5 MB / 254.8 MB, free: 15.1 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.UnsymmetricalLoad,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",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.002083/0.002083, allocations: 71.83 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.115, allocations: 53.32 MB / 427 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.2514/0.3664, allocations: 13.99 MB / 441 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007694/0.3741, allocations: 3.845 MB / 444.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002905/0.377, allocations: 123.2 kB / 445 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01312/0.3901, allocations: 5.598 MB / 450.6 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00704/0.3971, allocations: 1.37 MB / 452 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004346/0.4015, allocations: 1.2 MB / 453.2 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01266/0.4141, allocations: 6.382 MB / 459.5 MB, free: 9.129 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01944/0.4336, allocations: 10.76 MB / 470.3 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00603/0.4396, allocations: 3.351 MB / 473.6 MB, free: 1.797 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00819/0.4478, allocations: 3.872 MB / 477.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002886/0.4507, allocations: 0.8828 MB / 478.4 MB, free: 13.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004475/0.4552, allocations: 1.09 MB / 479.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002975/0.4581, allocations: 1.773 MB / 481.3 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0078/0.4659, allocations: 3.575 MB / 484.8 MB, free: 7.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01863/0.4846, allocations: 11.99 MB / 496.8 MB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.4846, allocations: 0 / 496.8 MB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.4846, allocations: 0 / 496.8 MB, free: 11.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003692/0.4849, allocations: 0 / 496.8 MB, free: 11.06 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.02372/0.5086, allocations: 7.909 MB / 0.4929 GB, free: 3.066 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.5087, allocations: 11.97 kB / 0.4929 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00318/0.5119, allocations: 1.05 MB / 0.4939 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0205/0.5324, allocations: 2.881 MB / 0.4968 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01077/0.5432, allocations: 3.756 MB / 0.5004 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007764/0.5439, allocations: 489.1 kB / 0.5009 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003324/0.5473, allocations: 0.6211 MB / 0.5015 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02972/0.577, allocations: 9.354 MB / 0.5106 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003643/0.5773, allocations: 11.89 kB / 0.5106 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002564/0.5799, allocations: 268 kB / 0.5109 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004688/0.5804, allocations: 313.5 kB / 0.5112 GB, free: 204 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02044/0.6008, allocations: 7.985 MB / 0.519 GB, free: 8.195 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05909/0.6599, allocations: 28.81 MB / 0.5471 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01432/0.6742, allocations: 11.46 MB / 0.5583 GB, free: 13.29 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002937/0.6772, allocations: 1.451 MB / 0.5597 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004964/0.6776, allocations: 244.1 kB / 0.56 GB, free: 11.56 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.811e-05/0.6777, allocations: 64.48 kB / 0.56 GB, free: 11.49 MB / 478.1 MB Notification: Performance of pre-optimization done (n=238): time 5.32e-06/0.6777, allocations: 0 / 0.56 GB, free: 11.49 MB / 478.1 MB Notification: Performance of matching and sorting (n=238): time 0.009402/0.6871, allocations: 4.175 MB / 0.5641 GB, free: 7.266 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.6872, allocations: 107.1 kB / 0.5642 GB, free: 7.141 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003424/0.6907, allocations: 1.903 MB / 0.5661 GB, free: 5.23 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000229/0.6909, allocations: 61.7 kB / 0.5661 GB, free: 5.164 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002317/0.6932, allocations: 2.651 MB / 0.5687 GB, free: 2.488 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001065/0.6943, allocations: 0.8483 MB / 0.5695 GB, free: 1.633 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001109/0.6954, allocations: 0.6757 MB / 0.5702 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.6955, allocations: 309.1 kB / 0.5705 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002337/0.6979, allocations: 1.408 MB / 0.5719 GB, free: 15.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003487/0.7013, allocations: 2.595 MB / 0.5744 GB, free: 12.11 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006213/0.7076, allocations: 4.246 MB / 0.5786 GB, free: 7.324 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.669e-05/0.7076, allocations: 12 kB / 0.5786 GB, free: 7.312 MB / 494.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.00839/0.716, allocations: 4.538 MB / 0.583 GB, free: 2.762 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.925e-05/0.716, allocations: 24.62 kB / 0.583 GB, free: 2.738 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.646e-05/0.7161, allocations: 40.56 kB / 0.5831 GB, free: 2.703 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008735/0.717, allocations: 313.5 kB / 0.5834 GB, free: 2.391 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002855/0.7198, allocations: 0.7839 MB / 0.5841 GB, free: 1.605 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006988/0.7268, allocations: 5.06 MB / 0.5891 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002961/0.7298, allocations: 421.1 kB / 0.5895 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004883/0.7303, allocations: 160 kB / 0.5896 GB, free: 11.7 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (414): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004493/0.7348, allocations: 2.191 MB / 0.5918 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005805/0.7353, allocations: 218.6 kB / 0.592 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005969/0.7413, allocations: 3.166 MB / 0.5951 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.629e-05/0.7413, allocations: 27.94 kB / 0.5951 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/0.7413, allocations: 4 kB / 0.5951 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-05/0.7414, allocations: 15.94 kB / 0.5951 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02181/0.7632, allocations: 12.67 MB / 0.6075 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.16e-05/0.7632, allocations: 12 kB / 0.6075 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001896/0.7651, allocations: 447.2 kB / 0.6079 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007588/0.7659, allocations: 273.7 kB / 0.6082 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001788/0.766, allocations: 75.97 kB / 0.6082 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006211/0.7723, allocations: 4.977 MB / 0.6131 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.882e-05/0.7723, allocations: 23.88 kB / 0.6131 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2962/1.069, allocations: 5.017 MB / 0.618 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001582/1.07, allocations: 0.5384 MB / 0.6186 GB, free: 154 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004976/1.071, allocations: 62.72 kB / 0.6186 GB, free: 154 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001544/1.072, allocations: 121.2 kB / 0.6187 GB, free: 154 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004497/1.073, allocations: 210.8 kB / 0.6189 GB, free: 154 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002017/1.073, allocations: 86.66 kB / 0.619 GB, free: 154 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002349/1.075, allocations: 1.291 MB / 0.6203 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/1.075, allocations: 1.5 kB / 0.6203 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005162/1.08, allocations: 1.461 MB / 0.6217 GB, free: 153.8 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.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 (226): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008375/1.089, allocations: 5.683 MB / 0.6273 GB, free: 151.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006608/1.095, allocations: 3.493 MB / 0.6307 GB, free: 149.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.312e-05/1.095, allocations: 3.312 kB / 0.6307 GB, free: 149.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00286/1.098, allocations: 1.598 MB / 0.6322 GB, free: 149.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003404/1.102, allocations: 0.5132 MB / 0.6327 GB, free: 148.9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04837/1.15, allocations: 28.99 MB / 0.661 GB, free: 133.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004484/1.154, allocations: 4.013 MB / 0.665 GB, free: 131.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002919/1.157, allocations: 1.195 MB / 0.6661 GB, free: 131.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002584/1.16, allocations: 2.01 MB / 0.6681 GB, free: 129.9 MB / 0.5137 GB Notification: Performance of SimCode: time 2.405e-06/1.16, allocations: 0 / 0.6681 GB, free: 129.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1104/1.27, allocations: 67.09 MB / 0.7336 GB, free: 64.31 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.56/15.83, allocations: 6.891 kB / 0.7336 GB, free: 64.31 MB / 0.5137 GB " [Timeout remaining time 644] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_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_UnsymmetricalLoad.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.541464047972113] Failed to read output from testmodel.py, exit status != 0: ['time', 'resistor1_3.pin_p.reference.gamma', 'resistor2_3.pin_p.reference.gamma'] 15.950722800102085 15.969411415 15.480618311 Calling exit ...