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.007834/0.007833, allocations: 99.95 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.423/1.423, allocations: 222.9 MB / 239.4 MB, free: 4.543 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.001329/0.001329, allocations: 204.4 kB / 289.7 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.507/0.507, allocations: 91.89 MB / 431.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 82.47 kB / 0.5722 GB, free: 33.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1377, allocations: 71.29 MB / 0.6418 GB, free: 4.125 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri): time 0.005071/0.1428, allocations: 4.891 MB / 0.6466 GB, free: 15.2 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0157/0.1586, allocations: 13.13 MB / 0.6594 GB, free: 2.012 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007654/0.1594, allocations: 8 kB / 0.6594 GB, free: 2.004 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005252/0.1599, allocations: 166.6 kB / 0.6596 GB, free: 1.84 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02069/0.1806, allocations: 18.17 MB / 0.6773 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.1819, allocations: 0.4935 MB / 0.6778 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001191/0.1831, allocations: 1.223 MB / 0.679 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003983/0.1835, allocations: 299.2 kB / 0.6793 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005467/0.184, allocations: 0.5527 MB / 0.6798 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009594/0.185, allocations: 1.056 MB / 0.6809 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001973/0.1852, allocations: 155.9 kB / 0.681 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02352/0.2087, allocations: 20.23 MB / 0.7008 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005053/0.2093, allocations: 0.5296 MB / 0.7013 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007866/0.2101, allocations: 0.7963 MB / 0.7021 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01695/0.227, allocations: 10.6 MB / 0.7124 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.2271, allocations: 3.938 kB / 0.7124 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2271, allocations: 0 / 0.7124 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.985e-05/0.2271, allocations: 0 / 0.7124 GB, free: 11.61 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.006977/0.2341, allocations: 3.483 MB / 0.7158 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.2342, allocations: 8.031 kB / 0.7158 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001571/0.2343, allocations: 114.7 kB / 0.7159 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.2355, allocations: 295.6 kB / 0.7162 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002954/0.2384, allocations: 2.657 MB / 0.7188 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.761e-05/0.2386, allocations: 79 kB / 0.7189 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.2387, allocations: 56 kB / 0.719 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/0.2407, allocations: 1.369 MB / 0.7203 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.2407, allocations: 0 / 0.7203 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.2408, allocations: 31.98 kB / 0.7203 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001014/0.2409, allocations: 77.95 kB / 0.7204 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003482/0.2444, allocations: 2.354 MB / 0.7227 GB, free: 0.957 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.009697/0.2541, allocations: 6.41 MB / 0.729 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00673/0.2609, allocations: 2.172 MB / 0.7311 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001166/0.262, allocations: 0.8264 MB / 0.7319 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.557e-05/0.2621, allocations: 12.55 kB / 0.7319 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.2622, allocations: 35.12 kB / 0.7319 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=69): time 3.677e-06/0.2622, allocations: 8 kB / 0.7319 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69): time 0.01977/0.282, allocations: 6.599 MB / 0.7384 GB, free: 444 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.282, allocations: 67.89 kB / 0.7384 GB, free: 360 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003797/0.2858, allocations: 3.543 MB / 0.7419 GB, free: 12.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.286, allocations: 37.7 kB / 0.7419 GB, free: 12.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005033/0.2865, allocations: 0.6861 MB / 0.7426 GB, free: 12.06 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000266/0.2868, allocations: 249.8 kB / 0.7429 GB, free: 11.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003087/0.2871, allocations: 130.6 kB / 0.743 GB, free: 11.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.2872, allocations: 334 kB / 0.7433 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009907/0.2882, allocations: 0.7047 MB / 0.744 GB, free: 10.64 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.2893, allocations: 0.8445 MB / 0.7448 GB, free: 9.746 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002117/0.2914, allocations: 1.592 MB / 0.7464 GB, free: 8.102 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.2914, allocations: 0 / 0.7464 GB, free: 8.102 MB / 0.545 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004172/0.2956, allocations: 2.584 MB / 0.7489 GB, free: 5.504 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.2956, allocations: 11.94 kB / 0.7489 GB, free: 5.492 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.2956, allocations: 8 kB / 0.7489 GB, free: 5.484 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01246/0.3081, allocations: 4.319 MB / 0.7531 GB, free: 1.156 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/0.3084, allocations: 71.91 kB / 0.7532 GB, free: 1.086 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00582/0.3143, allocations: 3.206 MB / 0.7563 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.3154, allocations: 99.45 kB / 0.7564 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.479e-05/0.3155, allocations: 28 kB / 0.7564 GB, free: 13.73 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.0005791/0.3161, allocations: 393.5 kB / 0.7568 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002563/0.3163, allocations: 151 kB / 0.757 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01162/0.328, allocations: 4.558 MB / 0.7614 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.469e-05/0.328, allocations: 8 kB / 0.7614 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/0.328, allocations: 0 / 0.7614 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.625e-05/0.3281, allocations: 3.984 kB / 0.7614 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01277/0.3408, allocations: 5.879 MB / 0.7672 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.3409, allocations: 0 / 0.7672 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.341, allocations: 31.98 kB / 0.7672 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3145/0.6556, allocations: 4.074 MB / 0.7712 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002128/0.6558, allocations: 13.12 kB / 0.7712 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005864/0.6617, allocations: 3.194 MB / 0.7743 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6617, allocations: 0.6562 kB / 0.7743 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01078/0.6725, allocations: 4.092 MB / 0.7783 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007063/0.6732, allocations: 324.8 kB / 0.7786 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000245/0.6735, allocations: 11.75 kB / 0.7786 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008416/0.6743, allocations: 51.95 kB / 0.7787 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/0.6746, allocations: 59.92 kB / 0.7787 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.406e-05/0.6746, allocations: 19.34 kB / 0.7787 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002802/0.6774, allocations: 2.72 MB / 0.7814 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6775, allocations: 3.219 kB / 0.7814 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002969/0.6804, allocations: 1.875 MB / 0.7832 GB, free: 117.6 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.0135/0.6939, allocations: 6.186 MB / 0.7893 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005419/0.6994, allocations: 2.428 MB / 0.7917 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.6994, allocations: 0 / 0.7917 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004033/0.7035, allocations: 1.609 MB / 0.7932 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.7045, allocations: 113.8 kB / 0.7933 GB, free: 112 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03492/0.7395, allocations: 23.87 MB / 0.8166 GB, free: 87.91 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004987/0.74, allocations: 1.21 MB / 0.8178 GB, free: 86.67 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004325/0.7404, allocations: 185.7 kB / 0.818 GB, free: 86.49 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004938/0.7409, allocations: 0.5344 MB / 0.8185 GB, free: 85.96 MB / 0.5606 GB Notification: Performance of SimCode: time 1.182e-06/0.7409, allocations: 0 / 0.8185 GB, free: 85.96 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08069/0.8216, allocations: 56.91 MB / 0.8741 GB, free: 29.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/14.71, allocations: 9.844 kB / 0.8741 GB, free: 29.2 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)