Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_ThreePhase_IEEE4_MonoTri",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_ThreePhase_IEEE4_MonoTri",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001295, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 239.3 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 188.5 kB / 289.5 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5087/0.5087, allocations: 91.91 MB / 431.6 MB, free: 9.227 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001617, allocations: 75.88 kB / 0.502 GB, free: 7.598 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3157, allocations: 71.27 MB / 0.5716 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri): time 0.004264/0.32, allocations: 4.901 MB / 0.5764 GB, free: 33.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01228/0.3323, allocations: 13.12 MB / 0.5892 GB, free: 24.87 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00049/0.3329, allocations: 7.375 kB / 0.5892 GB, free: 24.87 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004256/0.3333, allocations: 164.6 kB / 0.5893 GB, free: 24.78 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01929/0.3526, allocations: 17.99 MB / 0.6069 GB, free: 22.3 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.3538, allocations: 0.4897 MB / 0.6074 GB, free: 22.01 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00128/0.3551, allocations: 1.218 MB / 0.6086 GB, free: 21.3 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003689/0.3554, allocations: 297.1 kB / 0.6088 GB, free: 21.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006052/0.356, allocations: 0.5663 MB / 0.6094 GB, free: 20.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008538/0.3569, allocations: 1.053 MB / 0.6104 GB, free: 19.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002056/0.3571, allocations: 155.9 kB / 0.6106 GB, free: 19.58 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02045/0.3776, allocations: 20.22 MB / 0.6303 GB, free: 2.457 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003863/0.378, allocations: 0.5336 MB / 0.6308 GB, free: 1.922 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000597/0.3786, allocations: 0.7924 MB / 0.6316 GB, free: 1.125 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01613/0.3947, allocations: 10.55 MB / 0.6419 GB, free: 6.543 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3948, allocations: 0 / 0.6419 GB, free: 6.543 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3948, allocations: 4 kB / 0.6419 GB, free: 6.539 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.307e-05/0.3948, allocations: 0 / 0.6419 GB, free: 6.539 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.007147/0.402, allocations: 3.333 MB / 0.6452 GB, free: 3.148 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.402, allocations: 8.031 kB / 0.6452 GB, free: 3.141 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001651/0.4022, allocations: 114.7 kB / 0.6453 GB, free: 3.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.4034, allocations: 286.7 kB / 0.6456 GB, free: 2.738 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003084/0.4065, allocations: 2.66 MB / 0.6482 GB, free: 28 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.4067, allocations: 79 kB / 0.6482 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.4068, allocations: 56 kB / 0.6483 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002058/0.4089, allocations: 1.365 MB / 0.6496 GB, free: 14.52 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.4089, allocations: 0 / 0.6496 GB, free: 14.52 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.409, allocations: 27.98 kB / 0.6497 GB, free: 14.49 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.91e-05/0.4091, allocations: 77.95 kB / 0.6497 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003644/0.4128, allocations: 2.358 MB / 0.652 GB, free: 12.06 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00973/0.4225, allocations: 6.433 MB / 0.6583 GB, free: 5.301 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007103/0.4296, allocations: 2.169 MB / 0.6604 GB, free: 3.07 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001175/0.4308, allocations: 0.8303 MB / 0.6612 GB, free: 2.238 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.115e-05/0.4309, allocations: 12.55 kB / 0.6613 GB, free: 2.227 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.431, allocations: 39.12 kB / 0.6613 GB, free: 2.18 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 2.525e-06/0.431, allocations: 4 kB / 0.6613 GB, free: 2.176 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.02061/0.4516, allocations: 6.598 MB / 0.6677 GB, free: 11.51 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.4517, allocations: 59.97 kB / 0.6678 GB, free: 11.44 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003936/0.4556, allocations: 3.547 MB / 0.6713 GB, free: 7.883 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001399/0.4558, allocations: 37.7 kB / 0.6713 GB, free: 7.84 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005113/0.4563, allocations: 0.6697 MB / 0.672 GB, free: 7.164 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002916/0.4566, allocations: 244.4 kB / 0.6722 GB, free: 6.922 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002979/0.4569, allocations: 122.7 kB / 0.6723 GB, free: 6.793 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.457, allocations: 341.9 kB / 0.6726 GB, free: 6.453 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/0.4581, allocations: 0.7009 MB / 0.6733 GB, free: 5.754 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/0.4593, allocations: 0.8406 MB / 0.6741 GB, free: 4.859 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002237/0.4615, allocations: 1.592 MB / 0.6757 GB, free: 3.219 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.4615, allocations: 4 kB / 0.6757 GB, free: 3.215 MB / 478.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004486/0.466, allocations: 2.571 MB / 0.6782 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.4661, allocations: 15.94 kB / 0.6782 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.4661, allocations: 4 kB / 0.6782 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01334/0.4794, allocations: 4.331 MB / 0.6825 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/0.4798, allocations: 75.89 kB / 0.6825 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006426/0.4862, allocations: 3.202 MB / 0.6857 GB, free: 8.969 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.4874, allocations: 99.22 kB / 0.6857 GB, free: 8.871 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.419e-05/0.4875, allocations: 32 kB / 0.6858 GB, free: 8.84 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(25,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0005952/0.4881, allocations: 388.3 kB / 0.6861 GB, free: 8.453 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002886/0.4884, allocations: 146.2 kB / 0.6863 GB, free: 8.309 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01233/0.5007, allocations: 4.554 MB / 0.6907 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.032e-05/0.5008, allocations: 15.98 kB / 0.6907 GB, free: 3.707 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/0.5008, allocations: 0 / 0.6907 GB, free: 3.707 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.5008, allocations: 0 / 0.6907 GB, free: 3.707 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01372/0.5146, allocations: 5.871 MB / 0.6965 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.5146, allocations: 0 / 0.6965 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.5148, allocations: 39.92 kB / 0.6965 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01357/0.5284, allocations: 4.101 MB / 0.7005 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001467/0.5286, allocations: 12 kB / 0.7005 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006341/0.5349, allocations: 3.193 MB / 0.7037 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5349, allocations: 0 / 0.7037 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01084/0.5458, allocations: 4.082 MB / 0.7076 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006438/0.5464, allocations: 319.1 kB / 0.7079 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003629/0.5468, allocations: 8 kB / 0.708 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.5479, allocations: 51.94 kB / 0.708 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002401/0.5481, allocations: 68.41 kB / 0.7081 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.415e-05/0.5482, allocations: 16 kB / 0.7081 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003143/0.5514, allocations: 2.715 MB / 0.7107 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5514, allocations: 7.938 kB / 0.7107 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003232/0.5546, allocations: 1.815 MB / 0.7125 GB, free: 13.25 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(25,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01583/0.5705, allocations: 6.114 MB / 0.7185 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007016/0.5775, allocations: 2.445 MB / 0.7209 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.5776, allocations: 0 / 0.7209 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004836/0.5824, allocations: 1.61 MB / 0.7224 GB, free: 3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.5836, allocations: 109.2 kB / 0.7226 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04579/0.6294, allocations: 24.54 MB / 0.7465 GB, free: 9.859 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008741/0.6303, allocations: 1.211 MB / 0.7477 GB, free: 8.621 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005149/0.6308, allocations: 172.3 kB / 0.7479 GB, free: 8.449 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00073/0.6316, allocations: 0.5421 MB / 0.7484 GB, free: 7.906 MB / 0.545 GB Notification: Performance of SimCode: time 6.82e-07/0.6316, allocations: 0 / 0.7484 GB, free: 7.906 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2971/0.9286, allocations: 56.56 MB / 0.8036 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/13.02, allocations: 12.5 kB / 0.8036 GB, free: 149.6 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 OpenIPSL_dev_OpenIPSL_Tests_ThreePhase_IEEE4_MonoTri.fmu > OpenIPSL_dev_OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri.pipe 2>&1)