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.004763/0.004763, allocations: 101 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 239.4 MB, free: 4.539 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.001575/0.001575, allocations: 180.5 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.542/0.542, allocations: 91.91 MB / 431.8 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 84.2 kB / 0.5722 GB, free: 33.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1295, allocations: 71.28 MB / 0.6418 GB, free: 4.145 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri): time 0.006254/0.1358, allocations: 4.895 MB / 0.6466 GB, free: 15.22 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01724/0.1531, allocations: 13.14 MB / 0.6594 GB, free: 2.023 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005277/0.1536, allocations: 4 kB / 0.6594 GB, free: 2.02 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005001/0.1542, allocations: 158.6 kB / 0.6596 GB, free: 1.863 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02342/0.1776, allocations: 17.98 MB / 0.6772 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.1791, allocations: 494.4 kB / 0.6776 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001594/0.1807, allocations: 1.219 MB / 0.6788 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004951/0.1812, allocations: 303.2 kB / 0.6791 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000784/0.182, allocations: 0.5604 MB / 0.6797 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.1833, allocations: 1.052 MB / 0.6807 GB, free: 12.22 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002578/0.1835, allocations: 152 kB / 0.6808 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02713/0.2107, allocations: 20.23 MB / 0.7006 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005783/0.2113, allocations: 0.5335 MB / 0.7011 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008938/0.2122, allocations: 0.7924 MB / 0.7019 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01698/0.2292, allocations: 10.6 MB / 0.7122 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.2292, allocations: 0 / 0.7122 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2292, allocations: 0 / 0.7122 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.656e-05/0.2293, allocations: 0 / 0.7122 GB, free: 11.84 MB / 0.5137 GB 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.007762/0.237, allocations: 3.487 MB / 0.7156 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.2371, allocations: 8.031 kB / 0.7156 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001842/0.2373, allocations: 118.7 kB / 0.7158 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.2385, allocations: 291.6 kB / 0.716 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003342/0.2419, allocations: 2.669 MB / 0.7186 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.242, allocations: 71.02 kB / 0.7187 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.2421, allocations: 56 kB / 0.7188 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002224/0.2444, allocations: 1.365 MB / 0.7201 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.2444, allocations: 7.938 kB / 0.7201 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/0.2445, allocations: 23.98 kB / 0.7201 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.936e-05/0.2446, allocations: 77.95 kB / 0.7202 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003902/0.2485, allocations: 2.358 MB / 0.7225 GB, free: 1.172 MB / 0.5137 GB 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.01058/0.2591, allocations: 6.414 MB / 0.7288 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00693/0.2661, allocations: 2.168 MB / 0.7309 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.2673, allocations: 0.8303 MB / 0.7317 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.458e-05/0.2674, allocations: 12.56 kB / 0.7317 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.2674, allocations: 39.12 kB / 0.7317 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=69): time 3.286e-06/0.2675, allocations: 0 / 0.7317 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69): time 0.02036/0.2878, allocations: 6.607 MB / 0.7382 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/0.2879, allocations: 55.97 kB / 0.7382 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004951/0.2929, allocations: 3.547 MB / 0.7417 GB, free: 13.01 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001676/0.2931, allocations: 41.7 kB / 0.7417 GB, free: 12.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006222/0.2937, allocations: 0.6822 MB / 0.7424 GB, free: 12.28 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002924/0.294, allocations: 257.8 kB / 0.7427 GB, free: 12.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003043/0.2943, allocations: 126.6 kB / 0.7428 GB, free: 11.89 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.2945, allocations: 333.9 kB / 0.7431 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/0.2956, allocations: 0.7009 MB / 0.7438 GB, free: 10.86 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/0.2968, allocations: 0.8406 MB / 0.7446 GB, free: 9.965 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002418/0.2993, allocations: 1.596 MB / 0.7462 GB, free: 8.316 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.2993, allocations: 0 / 0.7462 GB, free: 8.316 MB / 0.545 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004698/0.304, allocations: 2.58 MB / 0.7487 GB, free: 5.723 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.304, allocations: 8 kB / 0.7487 GB, free: 5.715 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.304, allocations: 4 kB / 0.7487 GB, free: 5.711 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01315/0.3172, allocations: 4.319 MB / 0.7529 GB, free: 1.383 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/0.3175, allocations: 79.84 kB / 0.753 GB, free: 1.305 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006202/0.3238, allocations: 3.206 MB / 0.7561 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.325, allocations: 103.5 kB / 0.7562 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.318e-05/0.3251, allocations: 24 kB / 0.7562 GB, free: 13.95 MB / 0.5606 GB 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.0007126/0.3258, allocations: 397.6 kB / 0.7566 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003192/0.3261, allocations: 155 kB / 0.7568 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01206/0.3382, allocations: 4.546 MB / 0.7612 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.062e-05/0.3382, allocations: 15.98 kB / 0.7612 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.3383, allocations: 0 / 0.7612 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-05/0.3383, allocations: 3.984 kB / 0.7612 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01396/0.3522, allocations: 5.871 MB / 0.767 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/0.3523, allocations: 0 / 0.767 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.3525, allocations: 39.91 kB / 0.767 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3227/0.6752, allocations: 4.08 MB / 0.771 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002274/0.6755, allocations: 10.91 kB / 0.771 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005564/0.6811, allocations: 3.193 MB / 0.7741 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.6811, allocations: 0 / 0.7741 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01073/0.6918, allocations: 4.094 MB / 0.7781 GB, free: 118.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005596/0.6924, allocations: 319.6 kB / 0.7784 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002085/0.6926, allocations: 11.66 kB / 0.7784 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007629/0.6934, allocations: 53.3 kB / 0.7785 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002269/0.6937, allocations: 62.59 kB / 0.7785 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.461e-05/0.6937, allocations: 24.06 kB / 0.7786 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002897/0.6966, allocations: 2.716 MB / 0.7812 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6966, allocations: 0 / 0.7812 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003001/0.6997, allocations: 1.875 MB / 0.783 GB, free: 117.8 MB / 0.5606 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.01267/0.7123, allocations: 6.187 MB / 0.7891 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004876/0.7172, allocations: 2.425 MB / 0.7915 GB, free: 114 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7173, allocations: 1 kB / 0.7915 GB, free: 114 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003634/0.7209, allocations: 1.61 MB / 0.793 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.7219, allocations: 116.2 kB / 0.7931 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03364/0.7556, allocations: 23.9 MB / 0.8165 GB, free: 88.26 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005426/0.7562, allocations: 1.203 MB / 0.8176 GB, free: 87.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004864/0.7567, allocations: 176.3 kB / 0.8178 GB, free: 86.85 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005181/0.7572, allocations: 0.5383 MB / 0.8183 GB, free: 86.31 MB / 0.5606 GB Notification: Performance of SimCode: time 1.553e-06/0.7572, allocations: 0 / 0.8183 GB, free: 86.31 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08072/0.8379, allocations: 56.9 MB / 0.8739 GB, free: 29.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.74/15.58, allocations: 17.78 kB / 0.8739 GB, free: 29.55 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)