Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_ThreePhase_IEEE4_MonoTri",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_ThreePhase_IEEE4_MonoTri",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09799/0.098, allocations: 12.59 MB / 28.22 MB, free: 0.7305 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 115.4 kB / 31.84 MB, free: 3.875 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.277/1.277, allocations: 205.1 MB / 240.4 MB, free: 12.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 191.3 kB / 290.7 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4314/0.4314, allocations: 78.51 MB / 419.3 MB, free: 11.21 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002491/0.002491, allocations: 129.4 kB / 0.5553 GB, free: 28.73 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1269, allocations: 68.13 MB / 0.6219 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri): time 0.004975/0.1319, allocations: 4.933 MB / 0.6267 GB, free: 10.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01542/0.1474, allocations: 13.09 MB / 0.6395 GB, free: 13.83 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005854/0.148, allocations: 8 kB / 0.6395 GB, free: 13.82 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004846/0.1485, allocations: 162.6 kB / 0.6396 GB, free: 13.66 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0224/0.171, allocations: 18.19 MB / 0.6574 GB, free: 11.45 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.1724, allocations: 494.4 kB / 0.6579 GB, free: 10.96 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001413/0.1738, allocations: 1.219 MB / 0.6591 GB, free: 9.734 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004302/0.1742, allocations: 303.5 kB / 0.6594 GB, free: 9.422 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007171/0.175, allocations: 0.5604 MB / 0.6599 GB, free: 8.859 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/0.1762, allocations: 1.052 MB / 0.6609 GB, free: 7.805 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000235/0.1764, allocations: 152 kB / 0.6611 GB, free: 7.656 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02576/0.2022, allocations: 20.22 MB / 0.6808 GB, free: 3.387 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005132/0.2027, allocations: 0.5336 MB / 0.6813 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008285/0.2036, allocations: 0.7925 MB / 0.6821 GB, free: 2.055 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01797/0.2216, allocations: 10.61 MB / 0.6925 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.2216, allocations: 0 / 0.6925 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.966e-06/0.2216, allocations: 0 / 0.6925 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.117e-05/0.2217, allocations: 4 kB / 0.6925 GB, free: 7.41 MB / 0.4981 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.008722/0.2304, allocations: 3.471 MB / 0.6959 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.004e-05/0.2305, allocations: 11.98 kB / 0.6959 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001862/0.2307, allocations: 114.7 kB / 0.696 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001354/0.2321, allocations: 295.6 kB / 0.6963 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003639/0.2357, allocations: 2.665 MB / 0.6989 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.2358, allocations: 82.98 kB / 0.699 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.236, allocations: 56 kB / 0.699 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002116/0.2381, allocations: 1.369 MB / 0.7003 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.2381, allocations: 0 / 0.7003 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.2382, allocations: 24 kB / 0.7004 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001132/0.2384, allocations: 81.89 kB / 0.7004 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00357/0.2419, allocations: 2.358 MB / 0.7027 GB, free: 12.75 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.01012/0.2521, allocations: 6.406 MB / 0.709 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006649/0.2588, allocations: 2.179 MB / 0.7111 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/0.2599, allocations: 0.8342 MB / 0.7119 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.571e-05/0.26, allocations: 8.562 kB / 0.712 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.2601, allocations: 39.12 kB / 0.712 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=69): time 3.075e-06/0.2601, allocations: 0 / 0.712 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69): time 0.3036/0.5637, allocations: 6.604 MB / 0.7184 GB, free: 85.74 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.5637, allocations: 62.59 kB / 0.7185 GB, free: 85.68 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004575/0.5683, allocations: 3.55 MB / 0.722 GB, free: 85.11 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001518/0.5685, allocations: 37.2 kB / 0.722 GB, free: 85.07 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004665/0.569, allocations: 0.6731 MB / 0.7227 GB, free: 84.62 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002437/0.5692, allocations: 252.3 kB / 0.7229 GB, free: 84.46 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003058/0.5695, allocations: 132.4 kB / 0.723 GB, free: 84.39 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 6.897e-05/0.5696, allocations: 333.9 kB / 0.7233 GB, free: 84.07 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.5707, allocations: 0.701 MB / 0.724 GB, free: 83.83 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.5719, allocations: 0.8434 MB / 0.7249 GB, free: 83.43 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002197/0.5741, allocations: 1.587 MB / 0.7264 GB, free: 82.7 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.5741, allocations: 5.875 kB / 0.7264 GB, free: 82.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004762/0.5788, allocations: 2.587 MB / 0.7289 GB, free: 81.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.5789, allocations: 11.52 kB / 0.7289 GB, free: 81.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.5789, allocations: 4.219 kB / 0.729 GB, free: 81.69 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01283/0.5917, allocations: 4.307 MB / 0.7332 GB, free: 80.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.5921, allocations: 81.58 kB / 0.7332 GB, free: 80.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005414/0.5975, allocations: 3.201 MB / 0.7364 GB, free: 79.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.5986, allocations: 103.4 kB / 0.7365 GB, free: 79.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.09e-05/0.5987, allocations: 31.08 kB / 0.7365 GB, free: 79.11 MB / 0.5137 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.0005653/0.5993, allocations: 394.2 kB / 0.7369 GB, free: 78.88 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002391/0.5995, allocations: 144.4 kB / 0.737 GB, free: 78.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01051/0.6101, allocations: 4.563 MB / 0.7415 GB, free: 76.14 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.6101, allocations: 9.812 kB / 0.7415 GB, free: 76.14 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.6101, allocations: 0 / 0.7415 GB, free: 76.14 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.6101, allocations: 3.984 kB / 0.7415 GB, free: 76.13 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01083/0.621, allocations: 5.877 MB / 0.7472 GB, free: 70.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.621, allocations: 0 / 0.7472 GB, free: 70.76 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.6212, allocations: 39.92 kB / 0.7473 GB, free: 70.72 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01158/0.6328, allocations: 4.08 MB / 0.7512 GB, free: 66.63 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001944/0.633, allocations: 11.98 kB / 0.7512 GB, free: 66.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005066/0.6381, allocations: 3.191 MB / 0.7544 GB, free: 63.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.6381, allocations: 4.688 kB / 0.7544 GB, free: 63.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008938/0.6471, allocations: 4.085 MB / 0.7584 GB, free: 59.29 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005619/0.6477, allocations: 322.6 kB / 0.7587 GB, free: 58.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002079/0.6479, allocations: 16 kB / 0.7587 GB, free: 58.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008209/0.6487, allocations: 54.12 kB / 0.7587 GB, free: 58.89 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/0.6489, allocations: 56.47 kB / 0.7588 GB, free: 58.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-05/0.649, allocations: 23.88 kB / 0.7588 GB, free: 58.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002057/0.651, allocations: 2.715 MB / 0.7615 GB, free: 56.11 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.651, allocations: 1.688 kB / 0.7615 GB, free: 56.11 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002781/0.6538, allocations: 1.876 MB / 0.7633 GB, free: 54.76 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.01301/0.6668, allocations: 6.186 MB / 0.7693 GB, free: 48.77 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005444/0.6723, allocations: 2.425 MB / 0.7717 GB, free: 46.33 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.6724, allocations: 0 / 0.7717 GB, free: 46.33 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004188/0.6765, allocations: 1.609 MB / 0.7733 GB, free: 44.71 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.6781, allocations: 117.1 kB / 0.7734 GB, free: 44.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03748/0.7156, allocations: 23.87 MB / 0.7967 GB, free: 20.49 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004899/0.7161, allocations: 1.211 MB / 0.7979 GB, free: 19.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003988/0.7165, allocations: 173.3 kB / 0.798 GB, free: 19.08 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004875/0.717, allocations: 0.55 MB / 0.7986 GB, free: 18.53 MB / 0.5137 GB Notification: Performance of SimCode: time 1.092e-06/0.7171, allocations: 0 / 0.7986 GB, free: 18.53 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08769/0.8047, allocations: 56.92 MB / 0.8542 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.52/15.32, allocations: 4.875 kB / 0.8542 GB, free: 9.676 MB / 0.5606 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_ThreePhase_IEEE4_MonoTri.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri.pipe 2>&1)