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.08921/0.08921, allocations: 12.6 MB / 28.1 MB, free: 268 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 107.5 kB / 31.7 MB, free: 3.504 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.305/1.305, allocations: 205.1 MB / 240.3 MB, free: 12.44 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.001224/0.001224, allocations: 180.5 kB / 290.5 MB, free: 11.04 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4461/0.4461, allocations: 78.5 MB / 419.2 MB, free: 10.84 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.002585/0.002585, allocations: 135.8 kB / 499.9 MB, free: 10.08 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2825, allocations: 68.12 MB / 0.5547 GB, free: 21.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri): time 0.004141/0.2866, allocations: 4.932 MB / 0.5595 GB, free: 16.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01192/0.2986, allocations: 13.1 MB / 0.5723 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005166/0.2991, allocations: 8 kB / 0.5723 GB, free: 3.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003736/0.2995, allocations: 158.6 kB / 0.5724 GB, free: 3.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0203/0.3199, allocations: 17.98 MB / 0.59 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.3212, allocations: 486.4 kB / 0.5905 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001541/0.3227, allocations: 1.223 MB / 0.5917 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004581/0.3232, allocations: 310 kB / 0.592 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006559/0.3239, allocations: 0.5565 MB / 0.5925 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.325, allocations: 1.056 MB / 0.5935 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002448/0.3253, allocations: 152 kB / 0.5937 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02506/0.3503, allocations: 20.22 MB / 0.6134 GB, free: 8.977 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005922/0.351, allocations: 0.5336 MB / 0.6139 GB, free: 8.441 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008339/0.3518, allocations: 0.7924 MB / 0.6147 GB, free: 7.645 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01761/0.3694, allocations: 10.54 MB / 0.625 GB, free: 13.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.3695, allocations: 0 / 0.625 GB, free: 13.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3695, allocations: 4 kB / 0.625 GB, free: 13.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.273e-05/0.3695, allocations: 0 / 0.625 GB, free: 13.07 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.007149/0.3767, allocations: 3.333 MB / 0.6283 GB, free: 9.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.3767, allocations: 15.98 kB / 0.6283 GB, free: 9.664 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001755/0.3769, allocations: 110.7 kB / 0.6284 GB, free: 9.547 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/0.3783, allocations: 290.6 kB / 0.6287 GB, free: 9.262 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003022/0.3813, allocations: 2.652 MB / 0.6313 GB, free: 6.559 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.3814, allocations: 79 kB / 0.6313 GB, free: 6.473 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.3816, allocations: 56 kB / 0.6314 GB, free: 6.418 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/0.3836, allocations: 1.369 MB / 0.6327 GB, free: 5.051 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.3836, allocations: 0 / 0.6327 GB, free: 5.051 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.3837, allocations: 24 kB / 0.6328 GB, free: 5.027 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.296e-05/0.3838, allocations: 77.95 kB / 0.6328 GB, free: 4.949 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003662/0.3875, allocations: 2.362 MB / 0.6351 GB, free: 2.586 MB / 446.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.01091/0.3984, allocations: 6.425 MB / 0.6414 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007039/0.4055, allocations: 2.175 MB / 0.6435 GB, free: 9.59 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/0.4067, allocations: 0.8303 MB / 0.6443 GB, free: 8.758 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.591e-05/0.4068, allocations: 8.562 kB / 0.6444 GB, free: 8.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.4068, allocations: 35.12 kB / 0.6444 GB, free: 8.707 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 4.889e-06/0.4068, allocations: 3.984 kB / 0.6444 GB, free: 8.703 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.02018/0.427, allocations: 6.614 MB / 0.6508 GB, free: 2.027 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.4271, allocations: 59.97 kB / 0.6509 GB, free: 1.957 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004289/0.4314, allocations: 3.547 MB / 0.6544 GB, free: 14.4 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001337/0.4316, allocations: 41.64 kB / 0.6544 GB, free: 14.35 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005607/0.4321, allocations: 0.6697 MB / 0.6551 GB, free: 13.68 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000329/0.4325, allocations: 240.4 kB / 0.6553 GB, free: 13.44 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003411/0.4328, allocations: 130.6 kB / 0.6554 GB, free: 13.3 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.433, allocations: 341.9 kB / 0.6557 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.434, allocations: 0.7009 MB / 0.6564 GB, free: 12.26 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/0.4352, allocations: 0.8368 MB / 0.6572 GB, free: 11.37 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002292/0.4375, allocations: 1.592 MB / 0.6588 GB, free: 9.723 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.4375, allocations: 4 kB / 0.6588 GB, free: 9.719 MB / 478.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004364/0.4419, allocations: 2.571 MB / 0.6613 GB, free: 7.133 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.4419, allocations: 12 kB / 0.6613 GB, free: 7.121 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.4419, allocations: 4 kB / 0.6613 GB, free: 7.117 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01329/0.4552, allocations: 4.323 MB / 0.6655 GB, free: 2.785 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/0.4556, allocations: 75.84 kB / 0.6656 GB, free: 2.711 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006069/0.4617, allocations: 3.201 MB / 0.6687 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.4628, allocations: 95.31 kB / 0.6688 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.099e-05/0.4629, allocations: 32 kB / 0.6689 GB, free: 15.36 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.0005819/0.4635, allocations: 389 kB / 0.6692 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003411/0.4638, allocations: 138.2 kB / 0.6694 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01191/0.4757, allocations: 4.562 MB / 0.6738 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.021e-05/0.4758, allocations: 15.98 kB / 0.6738 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.4758, allocations: 0 / 0.6738 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.4758, allocations: 0 / 0.6738 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01381/0.4897, allocations: 5.883 MB / 0.6796 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.4897, allocations: 0 / 0.6796 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.4899, allocations: 39.86 kB / 0.6796 GB, free: 4.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01316/0.5031, allocations: 4.097 MB / 0.6836 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002088/0.5033, allocations: 12 kB / 0.6836 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2348/0.7381, allocations: 3.18 MB / 0.6867 GB, free: 121.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.7381, allocations: 1.5 kB / 0.6867 GB, free: 121.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01106/0.7492, allocations: 4.087 MB / 0.6907 GB, free: 120.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005893/0.7498, allocations: 316.6 kB / 0.691 GB, free: 119.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004516/0.7503, allocations: 15.42 kB / 0.6911 GB, free: 119.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.7514, allocations: 55.03 kB / 0.6911 GB, free: 119.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002957/0.7517, allocations: 56.77 kB / 0.6912 GB, free: 119.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/0.7519, allocations: 18.78 kB / 0.6912 GB, free: 119.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003866/0.7557, allocations: 2.715 MB / 0.6938 GB, free: 119 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.21e-07/0.7558, allocations: 0 / 0.6938 GB, free: 119 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003316/0.7591, allocations: 1.818 MB / 0.6956 GB, free: 119 MB / 494.1 MB 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.01492/0.774, allocations: 6.121 MB / 0.7016 GB, free: 114.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00559/0.7796, allocations: 2.446 MB / 0.704 GB, free: 112 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.7797, allocations: 0 / 0.704 GB, free: 112 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004204/0.7839, allocations: 1.616 MB / 0.7055 GB, free: 110.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.7851, allocations: 109.8 kB / 0.7057 GB, free: 110.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03767/0.8228, allocations: 24.53 MB / 0.7296 GB, free: 85.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006583/0.8235, allocations: 1.202 MB / 0.7308 GB, free: 84.04 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000445/0.8239, allocations: 185.7 kB / 0.731 GB, free: 83.85 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006465/0.8246, allocations: 0.5383 MB / 0.7315 GB, free: 83.31 MB / 494.1 MB Notification: Performance of SimCode: time 8.11e-07/0.8246, allocations: 2.188 kB / 0.7315 GB, free: 83.31 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07608/0.9007, allocations: 56.59 MB / 0.7867 GB, free: 26.79 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.97, allocations: 7.766 kB / 0.7868 GB, free: 26.78 MB / 494.1 MB (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)