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.001904/0.001904, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.002418/0.002418, allocations: 209.9 kB / 24.54 MB, free: 4.055 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.52/1.52, allocations: 230.6 MB / 258.3 MB, free: 8.062 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.002219/0.002219, allocations: 60.08 kB / 378.6 MB, free: 3.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3061, allocations: 53.37 MB / 431.9 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.0162/0.3223, allocations: 14.02 MB / 446 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008982/0.3313, allocations: 3.866 MB / 449.8 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00268/0.334, allocations: 123.4 kB / 449.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01306/0.3471, allocations: 5.61 MB / 455.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005733/0.3528, allocations: 1.405 MB / 457 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004796/0.3576, allocations: 1.246 MB / 458.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01052/0.3681, allocations: 6.494 MB / 464.7 MB, free: 6.051 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01955/0.3877, allocations: 9.15 MB / 473.8 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006594/0.3943, allocations: 3.359 MB / 477.2 MB, free: 9.406 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007212/0.4015, allocations: 3.89 MB / 481.1 MB, free: 5.504 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002937/0.4044, allocations: 0.8828 MB / 482 MB, free: 4.621 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004447/0.4089, allocations: 1.086 MB / 483.1 MB, free: 3.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003277/0.4121, allocations: 1.769 MB / 484.8 MB, free: 1.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007254/0.4194, allocations: 3.575 MB / 488.4 MB, free: 14.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01719/0.4366, allocations: 11.99 MB / 0.4887 GB, free: 2.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.4366, allocations: 0 / 0.4887 GB, free: 2.141 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4366, allocations: 0 / 0.4887 GB, free: 2.141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003891/0.437, allocations: 0 / 0.4887 GB, free: 2.141 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.026/0.463, allocations: 7.831 MB / 0.4963 GB, free: 10.24 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.463, allocations: 8.031 kB / 0.4963 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003998/0.467, allocations: 1.054 MB / 0.4974 GB, free: 9.168 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01988/0.4869, allocations: 2.875 MB / 0.5002 GB, free: 6.289 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00944/0.4963, allocations: 3.752 MB / 0.5038 GB, free: 2.488 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000621/0.497, allocations: 481.1 kB / 0.5043 GB, free: 2.016 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002833/0.4998, allocations: 0.6288 MB / 0.5049 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02732/0.5271, allocations: 9.362 MB / 0.514 GB, free: 7.965 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003666/0.5275, allocations: 7.953 kB / 0.5141 GB, free: 7.957 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002169/0.5297, allocations: 260 kB / 0.5143 GB, free: 7.703 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005371/0.5302, allocations: 325.5 kB / 0.5146 GB, free: 7.383 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02043/0.5506, allocations: 7.989 MB / 0.5224 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2832/0.8338, allocations: 27.42 MB / 0.5492 GB, free: 84.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00687/0.8407, allocations: 3.957 MB / 0.5531 GB, free: 83.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001814/0.8425, allocations: 1.449 MB / 0.5545 GB, free: 82.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002015/0.8427, allocations: 77.62 kB / 0.5545 GB, free: 82.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.8427, allocations: 70.5 kB / 0.5546 GB, free: 82.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 4.278e-06/0.8427, allocations: 0 / 0.5546 GB, free: 82.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.006488/0.8492, allocations: 4.033 MB / 0.5585 GB, free: 81.28 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.8493, allocations: 103.5 kB / 0.5586 GB, free: 81.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002309/0.8516, allocations: 1.908 MB / 0.5605 GB, free: 80.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001377/0.8517, allocations: 61.08 kB / 0.5606 GB, free: 80.13 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001192/0.8529, allocations: 2.644 MB / 0.5631 GB, free: 78.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005149/0.8534, allocations: 0.8467 MB / 0.564 GB, free: 77.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007896/0.8542, allocations: 0.6765 MB / 0.5646 GB, free: 77.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.527e-05/0.8543, allocations: 305.1 kB / 0.5649 GB, free: 76.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001693/0.856, allocations: 1.405 MB / 0.5663 GB, free: 76.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002156/0.8581, allocations: 2.594 MB / 0.5688 GB, free: 73.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003892/0.862, allocations: 4.251 MB / 0.573 GB, free: 70.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.398e-05/0.862, allocations: 12 kB / 0.573 GB, free: 70.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005663/0.8677, allocations: 4.538 MB / 0.5774 GB, free: 65.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/0.8677, allocations: 23.98 kB / 0.5774 GB, free: 65.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.175e-05/0.8678, allocations: 40 kB / 0.5775 GB, free: 65.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006991/0.8685, allocations: 301.6 kB / 0.5778 GB, free: 65.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002507/0.871, allocations: 0.7894 MB / 0.5785 GB, free: 64.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00443/0.8754, allocations: 4.839 MB / 0.5833 GB, free: 59.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002693/0.8781, allocations: 420.2 kB / 0.5837 GB, free: 58.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004592/0.8786, allocations: 168 kB / 0.5838 GB, free: 58.71 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.003/0.8816, allocations: 2.194 MB / 0.586 GB, free: 56.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003643/0.8819, allocations: 221.9 kB / 0.5862 GB, free: 56.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004225/0.8862, allocations: 3.166 MB / 0.5893 GB, free: 53.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/0.8862, allocations: 24 kB / 0.5893 GB, free: 53.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.8862, allocations: 8 kB / 0.5893 GB, free: 53.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.86e-05/0.8862, allocations: 15.95 kB / 0.5893 GB, free: 53.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01736/0.9036, allocations: 11.04 MB / 0.6001 GB, free: 41.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.541e-05/0.9036, allocations: 16.77 kB / 0.6001 GB, free: 41.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001696/0.9053, allocations: 447.2 kB / 0.6005 GB, free: 41.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006394/0.9059, allocations: 274.3 kB / 0.6008 GB, free: 41.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000231/0.9062, allocations: 67.98 kB / 0.6009 GB, free: 41.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004063/0.9102, allocations: 4.779 MB / 0.6055 GB, free: 36.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.108e-05/0.9102, allocations: 19.94 kB / 0.6056 GB, free: 36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006187/0.9164, allocations: 5.014 MB / 0.6105 GB, free: 30.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009629/0.9174, allocations: 491.4 kB / 0.6109 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003943/0.9178, allocations: 63.98 kB / 0.611 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001371/0.9191, allocations: 111.9 kB / 0.6111 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003021/0.9194, allocations: 221.3 kB / 0.6113 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/0.9196, allocations: 83.98 kB / 0.6114 GB, free: 29.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001807/0.9214, allocations: 1.294 MB / 0.6126 GB, free: 28.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.9214, allocations: 4 kB / 0.6127 GB, free: 28.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004105/0.9255, allocations: 1.456 MB / 0.6141 GB, free: 27.06 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.006178/0.9317, allocations: 5.682 MB / 0.6196 GB, free: 21.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005477/0.9372, allocations: 3.495 MB / 0.623 GB, free: 17.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.554e-05/0.9372, allocations: 4 kB / 0.623 GB, free: 17.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002157/0.9393, allocations: 1.596 MB / 0.6246 GB, free: 16.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003277/0.9426, allocations: 0.5153 MB / 0.6251 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0526/0.9952, allocations: 29.09 MB / 0.6535 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00703/1.002, allocations: 4.012 MB / 0.6574 GB, free: 12.57 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003551/1.006, allocations: 1.191 MB / 0.6586 GB, free: 11.37 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003423/1.009, allocations: 2.007 MB / 0.6605 GB, free: 9.359 MB / 478.1 MB Notification: Performance of SimCode: time 1.583e-06/1.009, allocations: 4 kB / 0.6606 GB, free: 9.355 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1405/1.15, allocations: 69.9 MB / 0.7288 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.51/15.66, allocations: 9.5 kB / 0.7288 GB, free: 3.684 MB / 0.5294 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.32706611789763] Failed to read output from testmodel.py, exit status != 0: ['time', 'resistor1_3.pin_p.reference.gamma', 'resistor2_3.pin_p.reference.gamma'] 15.778682483360171 15.795355509 15.355169485 Calling exit ...