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.00189/0.00189, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.002653/0.002653, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.513/1.513, allocations: 230.5 MB / 254.7 MB, free: 15.02 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.002431/0.002431, allocations: 71.81 kB / 373.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1209, allocations: 53.32 MB / 426.9 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.2306/0.3516, allocations: 14 MB / 440.9 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00802/0.3596, allocations: 3.842 MB / 444.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002715/0.3623, allocations: 99.97 kB / 444.8 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0124/0.3747, allocations: 5.6 MB / 450.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006836/0.3816, allocations: 1.355 MB / 451.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004311/0.3859, allocations: 1.214 MB / 453 MB, free: 12.37 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01065/0.3965, allocations: 6.376 MB / 459.4 MB, free: 9.246 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0219/0.4184, allocations: 10.75 MB / 470.1 MB, free: 3.793 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007377/0.4258, allocations: 3.289 MB / 473.4 MB, free: 1.918 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008231/0.434, allocations: 3.871 MB / 477.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003229/0.4373, allocations: 0.8945 MB / 478.2 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005274/0.4425, allocations: 1.082 MB / 479.3 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004273/0.4468, allocations: 1.777 MB / 481.1 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008899/0.4557, allocations: 3.572 MB / 484.6 MB, free: 7.297 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02026/0.476, allocations: 11.98 MB / 496.6 MB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.476, allocations: 3.938 kB / 496.6 MB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.476, allocations: 3.938 kB / 496.6 MB, free: 11.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004654/0.4764, allocations: 4 kB / 496.6 MB, free: 11.26 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.02557/0.502, allocations: 7.909 MB / 0.4927 GB, free: 3.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/0.5021, allocations: 16.03 kB / 0.4927 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004204/0.5063, allocations: 1.046 MB / 0.4937 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02051/0.5268, allocations: 2.877 MB / 0.4966 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01049/0.5373, allocations: 3.757 MB / 0.5002 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005735/0.5378, allocations: 481.8 kB / 0.5007 GB, free: 11.03 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002637/0.5405, allocations: 0.6211 MB / 0.5013 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02754/0.568, allocations: 9.366 MB / 0.5104 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004153/0.5684, allocations: 11.95 kB / 0.5104 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002972/0.5714, allocations: 260 kB / 0.5107 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006188/0.572, allocations: 313.5 kB / 0.511 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01981/0.5918, allocations: 7.989 MB / 0.5188 GB, free: 8.402 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06155/0.6534, allocations: 28.81 MB / 0.5469 GB, free: 10.63 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01405/0.6674, allocations: 11.47 MB / 0.5581 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002997/0.6704, allocations: 1.455 MB / 0.5595 GB, free: 12.03 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004385/0.6709, allocations: 228.1 kB / 0.5598 GB, free: 11.77 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.355e-05/0.6709, allocations: 68.55 kB / 0.5598 GB, free: 11.69 MB / 478.1 MB Notification: Performance of pre-optimization done (n=238): time 5.52e-06/0.671, allocations: 0 / 0.5598 GB, free: 11.69 MB / 478.1 MB Notification: Performance of matching and sorting (n=238): time 0.009438/0.6804, allocations: 4.175 MB / 0.5639 GB, free: 7.469 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.151e-05/0.6805, allocations: 107 kB / 0.564 GB, free: 7.344 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004131/0.6846, allocations: 1.903 MB / 0.5659 GB, free: 5.434 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002575/0.6849, allocations: 69.7 kB / 0.5659 GB, free: 5.359 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002448/0.6873, allocations: 2.643 MB / 0.5685 GB, free: 2.691 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001285/0.6886, allocations: 0.8522 MB / 0.5693 GB, free: 1.832 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001886/0.6905, allocations: 0.6679 MB / 0.57 GB, free: 1.156 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.6907, allocations: 313 kB / 0.5703 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002684/0.6934, allocations: 1.408 MB / 0.5717 GB, free: 15.44 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003664/0.697, allocations: 2.591 MB / 0.5742 GB, free: 12.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006835/0.7039, allocations: 4.246 MB / 0.5784 GB, free: 7.531 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.083e-05/0.7039, allocations: 12 kB / 0.5784 GB, free: 7.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.009768/0.7137, allocations: 4.543 MB / 0.5828 GB, free: 2.965 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.741e-05/0.7138, allocations: 20 kB / 0.5828 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-05/0.7138, allocations: 40 kB / 0.5829 GB, free: 2.906 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009378/0.7148, allocations: 305.8 kB / 0.5831 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003101/0.7179, allocations: 0.78 MB / 0.5839 GB, free: 1.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007315/0.7252, allocations: 5.065 MB / 0.5889 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003505/0.7287, allocations: 425 kB / 0.5893 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008944/0.7296, allocations: 168 kB / 0.5894 GB, free: 11.89 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.005399/0.735, allocations: 2.191 MB / 0.5916 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008198/0.7358, allocations: 218.6 kB / 0.5918 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006792/0.7426, allocations: 3.166 MB / 0.5949 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.974e-05/0.7426, allocations: 27.94 kB / 0.5949 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.29e-05/0.7426, allocations: 8 kB / 0.5949 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.818e-05/0.7427, allocations: 11.95 kB / 0.5949 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02643/0.7691, allocations: 12.66 MB / 0.6073 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.583e-05/0.7691, allocations: 12 kB / 0.6073 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001951/0.7711, allocations: 451.4 kB / 0.6077 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008032/0.7719, allocations: 276.7 kB / 0.608 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003219/0.7722, allocations: 79.95 kB / 0.608 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006377/0.7786, allocations: 4.978 MB / 0.6129 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.888e-05/0.7786, allocations: 20.12 kB / 0.6129 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2426/1.021, allocations: 5.016 MB / 0.6178 GB, free: 154 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/1.023, allocations: 0.5456 MB / 0.6184 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003553/1.023, allocations: 61.53 kB / 0.6184 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/1.024, allocations: 119.3 kB / 0.6185 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003601/1.025, allocations: 211 kB / 0.6187 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001676/1.025, allocations: 90.08 kB / 0.6188 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002091/1.027, allocations: 1.292 MB / 0.6201 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/1.027, allocations: 0 / 0.6201 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005035/1.032, allocations: 1.462 MB / 0.6215 GB, free: 153.7 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.008291/1.04, allocations: 5.683 MB / 0.6271 GB, free: 151.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006163/1.046, allocations: 3.493 MB / 0.6305 GB, free: 149.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.834e-05/1.047, allocations: 6.406 kB / 0.6305 GB, free: 149.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002595/1.049, allocations: 1.589 MB / 0.632 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.003017/1.052, allocations: 0.5117 MB / 0.6325 GB, free: 149 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04504/1.097, allocations: 29 MB / 0.6608 GB, free: 133.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00365/1.101, allocations: 4.018 MB / 0.6648 GB, free: 131.9 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002944/1.104, allocations: 1.19 MB / 0.6659 GB, free: 131.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001974/1.106, allocations: 2.011 MB / 0.6679 GB, free: 130.1 MB / 0.5137 GB Notification: Performance of SimCode: time 1.764e-06/1.106, allocations: 0 / 0.6679 GB, free: 130.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1078/1.214, allocations: 67.09 MB / 0.7334 GB, free: 64.61 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/15.17, allocations: 3.938 kB / 0.7334 GB, free: 64.6 MB / 0.5137 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 --stepSize=0.001 --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.74043090036139] Failed to read output from testmodel.py, exit status != 0: ['time', 'resistor1_3.pin_p.reference.gamma', 'resistor2_3.pin_p.reference.gamma'] 15.283309129066765 15.291644393 14.813229707 Calling exit ...