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.001732/0.001732, allocations: 108.7 kB / 19.8 MB, free: 2.516 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.002368/0.002368, allocations: 216.5 kB / 23 MB, free: 5.617 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.462/1.462, allocations: 230.5 MB / 256.5 MB, free: 8.406 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.001893/0.001893, allocations: 63.83 kB / 376.2 MB, free: 4.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2824, allocations: 53.33 MB / 429.6 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01706/0.2994, allocations: 14.02 MB / 443.6 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009446/0.3089, allocations: 3.855 MB / 447.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002469/0.3113, allocations: 103.7 kB / 447.5 MB, free: 5.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0129/0.3242, allocations: 5.592 MB / 453.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005449/0.3297, allocations: 1.351 MB / 454.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003508/0.3332, allocations: 1.212 MB / 455.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009281/0.3425, allocations: 6.417 MB / 462.1 MB, free: 6.727 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01471/0.3572, allocations: 8.644 MB / 470.7 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0069/0.3641, allocations: 3.285 MB / 474 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007316/0.3714, allocations: 3.886 MB / 477.9 MB, free: 6.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00285/0.3743, allocations: 0.8867 MB / 478.8 MB, free: 5.887 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003786/0.378, allocations: 1.082 MB / 479.9 MB, free: 4.805 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002452/0.3805, allocations: 1.777 MB / 481.7 MB, free: 3.023 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006417/0.3869, allocations: 3.572 MB / 485.2 MB, free: 15.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01548/0.4024, allocations: 11.98 MB / 497.2 MB, free: 3.414 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.4024, allocations: 4 kB / 497.2 MB, free: 3.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4024, allocations: 0 / 497.2 MB, free: 3.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002972/0.4027, allocations: 0 / 497.2 MB, free: 3.41 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.02315/0.4258, allocations: 7.905 MB / 0.4933 GB, free: 11.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.254e-05/0.4259, allocations: 12.03 kB / 0.4933 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003524/0.4294, allocations: 1.058 MB / 0.4943 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01962/0.449, allocations: 2.877 MB / 0.4971 GB, free: 7.457 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008795/0.4578, allocations: 3.757 MB / 0.5008 GB, free: 3.645 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004941/0.4583, allocations: 485.1 kB / 0.5013 GB, free: 3.168 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002552/0.4609, allocations: 0.6288 MB / 0.5019 GB, free: 2.539 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02267/0.4835, allocations: 9.35 MB / 0.511 GB, free: 9.129 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001635/0.4837, allocations: 7.953 kB / 0.511 GB, free: 9.121 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009147/0.4846, allocations: 264 kB / 0.5113 GB, free: 8.863 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003559/0.485, allocations: 325.5 kB / 0.5116 GB, free: 8.543 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01601/0.501, allocations: 7.985 MB / 0.5194 GB, free: 0.543 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2645/0.7655, allocations: 28.79 MB / 0.5475 GB, free: 84.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007822/0.7734, allocations: 11.47 MB / 0.5587 GB, free: 73.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00197/0.7753, allocations: 1.448 MB / 0.5601 GB, free: 73.31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000219/0.7755, allocations: 233.2 kB / 0.5603 GB, free: 73.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.7756, allocations: 63.97 kB / 0.5604 GB, free: 73.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 4.087e-06/0.7756, allocations: 0 / 0.5604 GB, free: 73.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.006504/0.7821, allocations: 4.189 MB / 0.5645 GB, free: 71.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.7821, allocations: 106.8 kB / 0.5646 GB, free: 71.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002135/0.7843, allocations: 1.898 MB / 0.5664 GB, free: 70.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001393/0.7844, allocations: 63.64 kB / 0.5665 GB, free: 70.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001041/0.7855, allocations: 2.646 MB / 0.5691 GB, free: 68.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004816/0.7859, allocations: 0.8531 MB / 0.5699 GB, free: 67.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007605/0.7867, allocations: 0.6764 MB / 0.5706 GB, free: 67.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.396e-05/0.7867, allocations: 305.1 kB / 0.5709 GB, free: 66.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001617/0.7884, allocations: 1.402 MB / 0.5722 GB, free: 66.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002116/0.7905, allocations: 2.599 MB / 0.5748 GB, free: 63.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003804/0.7943, allocations: 4.247 MB / 0.5789 GB, free: 60.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.209e-05/0.7943, allocations: 12 kB / 0.5789 GB, free: 60.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005791/0.8001, allocations: 4.534 MB / 0.5834 GB, free: 55.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.531e-05/0.8001, allocations: 24 kB / 0.5834 GB, free: 55.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.12e-05/0.8002, allocations: 40.06 kB / 0.5834 GB, free: 55.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006861/0.8009, allocations: 310.1 kB / 0.5837 GB, free: 55.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002347/0.8032, allocations: 0.7839 MB / 0.5845 GB, free: 54.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004069/0.8073, allocations: 5.057 MB / 0.5894 GB, free: 49.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00238/0.8097, allocations: 415 kB / 0.5898 GB, free: 48.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002717/0.8099, allocations: 156 kB / 0.59 GB, free: 48.48 MB / 446.1 MB 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.002851/0.8128, allocations: 2.2 MB / 0.5921 GB, free: 46.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003595/0.8131, allocations: 218.5 kB / 0.5923 GB, free: 46.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004063/0.8172, allocations: 3.17 MB / 0.5954 GB, free: 42.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.8172, allocations: 24 kB / 0.5955 GB, free: 42.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.8172, allocations: 4 kB / 0.5955 GB, free: 42.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.8172, allocations: 11.95 kB / 0.5955 GB, free: 42.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01301/0.8302, allocations: 12.68 MB / 0.6079 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/0.8303, allocations: 12 kB / 0.6079 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/0.8317, allocations: 435.4 kB / 0.6083 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005762/0.8323, allocations: 284.9 kB / 0.6086 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.8324, allocations: 71.92 kB / 0.6086 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00374/0.8362, allocations: 4.992 MB / 0.6135 GB, free: 23.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.936e-06/0.8362, allocations: 20 kB / 0.6135 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005055/0.8412, allocations: 5.022 MB / 0.6184 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008278/0.8421, allocations: 0.5392 MB / 0.6189 GB, free: 17.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002308/0.8423, allocations: 68.61 kB / 0.619 GB, free: 17.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/0.8434, allocations: 115.9 kB / 0.6191 GB, free: 17.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002576/0.8437, allocations: 209.3 kB / 0.6193 GB, free: 17.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/0.8438, allocations: 91.97 kB / 0.6194 GB, free: 17.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001376/0.8452, allocations: 1.287 MB / 0.6207 GB, free: 15.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.8452, allocations: 0 / 0.6207 GB, free: 15.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003374/0.8486, allocations: 1.464 MB / 0.6221 GB, free: 14.43 MB / 446.1 MB 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.00543/0.854, allocations: 5.678 MB / 0.6276 GB, free: 8.535 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004595/0.8586, allocations: 3.49 MB / 0.6311 GB, free: 5.027 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.616e-05/0.8586, allocations: 11.94 kB / 0.6311 GB, free: 5.016 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001868/0.8605, allocations: 1.592 MB / 0.6326 GB, free: 3.402 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/0.8631, allocations: 0.5175 MB / 0.6331 GB, free: 2.887 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0503/0.9134, allocations: 29.09 MB / 0.6615 GB, free: 3.98 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005007/0.9184, allocations: 4.012 MB / 0.6654 GB, free: 15.93 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003139/0.9215, allocations: 1.191 MB / 0.6666 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003129/0.9247, allocations: 2.007 MB / 0.6686 GB, free: 12.73 MB / 494.1 MB Notification: Performance of SimCode: time 1.523e-06/0.9247, allocations: 0 / 0.6686 GB, free: 12.73 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.14/1.065, allocations: 67.32 MB / 0.7343 GB, free: 9.633 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.04/15.1, allocations: 4.688 kB / 0.7343 GB, free: 9.629 MB / 0.545 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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: 17.817282800999237] Failed to read output from testmodel.py, exit status != 0: ['time', 'resistor1_3.pin_p.reference.gamma', 'resistor2_3.pin_p.reference.gamma'] 15.219701383000938 15.460016457 15.053083402 Calling exit ...