Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.ThreePhase.IEEE13.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.IEEE13,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_ThreePhase_IEEE13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.ThreePhase.IEEE13,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_ThreePhase_IEEE13",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.0786/0.0786, allocations: 12.59 MB / 28.22 MB, free: 0.7148 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.001124/0.001124, allocations: 115.4 kB / 31.84 MB, free: 3.863 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.323/1.323, allocations: 205.1 MB / 240.4 MB, free: 12.37 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.001454/0.001454, allocations: 184.5 kB / 290.7 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4309/0.4309, allocations: 78.52 MB / 419.3 MB, free: 11.24 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.002678/0.002678, allocations: 139 kB / 0.5554 GB, free: 28.83 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1409, allocations: 68.14 MB / 0.6219 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.ThreePhase.IEEE13): time 0.01504/0.156, allocations: 16.27 MB / 0.6378 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01289/0.169, allocations: 5.342 MB / 0.643 GB, free: 10.22 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004929/0.174, allocations: 32 kB / 0.643 GB, free: 10.19 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00255/0.1766, allocations: 0.6039 MB / 0.6436 GB, free: 9.578 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01191/0.1885, allocations: 6.4 MB / 0.6499 GB, free: 3.16 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002271/0.1908, allocations: 0.6588 MB / 0.6505 GB, free: 2.5 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00769/0.1985, allocations: 5.586 MB / 0.656 GB, free: 12.89 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002704/0.2012, allocations: 1.421 MB / 0.6574 GB, free: 11.42 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004398/0.2057, allocations: 2.612 MB / 0.6599 GB, free: 8.797 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007138/0.2128, allocations: 5.924 MB / 0.6657 GB, free: 2.859 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003326/0.2162, allocations: 0.7969 MB / 0.6665 GB, free: 2.062 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01538/0.2316, allocations: 12.23 MB / 0.6784 GB, free: 5.816 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005201/0.2368, allocations: 3.062 MB / 0.6814 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007577/0.2445, allocations: 4.067 MB / 0.6854 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0216/0.2661, allocations: 17.06 MB / 0.702 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.056e-06/0.2661, allocations: 0 / 0.702 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2662, allocations: 0 / 0.702 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0003625/0.2665, allocations: 0 / 0.702 GB, free: 13.55 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: 1006 * Number of variables: 1006 Notification: Performance of Generate backend data structure: time 0.03096/0.2975, allocations: 11.25 MB / 0.713 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/0.2976, allocations: 11.98 kB / 0.713 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00196/0.2995, allocations: 0.5038 MB / 0.7135 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003424/0.303, allocations: 0.8624 MB / 0.7144 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3225/0.6255, allocations: 6.138 MB / 0.7204 GB, free: 73.64 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004206/0.626, allocations: 400.8 kB / 0.7207 GB, free: 73.36 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002506/0.6285, allocations: 296.6 kB / 0.721 GB, free: 73.27 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01881/0.6473, allocations: 7.926 MB / 0.7288 GB, free: 71.01 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.808e-05/0.6474, allocations: 0 / 0.7288 GB, free: 71.01 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005764/0.648, allocations: 114.9 kB / 0.7289 GB, free: 70.93 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000763/0.6488, allocations: 0.5121 MB / 0.7294 GB, free: 70.88 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02348/0.6723, allocations: 14.3 MB / 0.7433 GB, free: 66.46 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.05907/0.7314, allocations: 30.54 MB / 0.7732 GB, free: 36.01 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008959/0.7404, allocations: 7.877 MB / 0.7809 GB, free: 27.91 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0059/0.7464, allocations: 4.945 MB / 0.7857 GB, free: 22.96 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009604/0.7473, allocations: 1.979 MB / 0.7876 GB, free: 20.52 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.7474, allocations: 69.52 kB / 0.7877 GB, free: 20.44 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=391): time 6.062e-06/0.7474, allocations: 0 / 0.7877 GB, free: 20.44 MB / 0.5137 GB Notification: Performance of matching and sorting (n=391): time 0.0247/0.7721, allocations: 17.61 MB / 0.8049 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.7722, allocations: 90.36 kB / 0.805 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01523/0.7874, allocations: 9.262 MB / 0.814 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001391/0.7889, allocations: 85.7 kB / 0.8141 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003484/0.7924, allocations: 3.393 MB / 0.8174 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002694/0.7951, allocations: 1.384 MB / 0.8188 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001879/0.797, allocations: 0.6575 MB / 0.8194 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.7971, allocations: 309 kB / 0.8197 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005936/0.8031, allocations: 4.029 MB / 0.8236 GB, free: 15.97 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007469/0.8106, allocations: 4.72 MB / 0.8282 GB, free: 11 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01424/0.8248, allocations: 9.077 MB / 0.8371 GB, free: 1.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-05/0.8249, allocations: 4 kB / 0.8371 GB, free: 1.656 MB / 0.545 GB Notification: Performance of matching and sorting (n=487) (initialization): time 0.02475/0.8497, allocations: 14.01 MB / 0.8508 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/0.8497, allocations: 12 kB / 0.8508 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.68e-05/0.8498, allocations: 24.97 kB / 0.8508 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09742/0.9472, allocations: 40.35 MB / 0.8902 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.9486, allocations: 315.4 kB / 0.8905 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03391/0.9825, allocations: 16.7 MB / 0.9068 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006887/0.9895, allocations: 0.5401 MB / 0.9074 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001138/0.9907, allocations: 140 kB / 0.9075 GB, free: 9.223 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 3 (breaker3.Open,breaker2.Open,breaker.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(126,187)} Notification: Performance of prepare postOptimizeDAE: time 0.00418/0.9948, allocations: 1.762 MB / 0.9092 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002994/0.9978, allocations: 0.7179 MB / 0.9099 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02789/1.026, allocations: 15.64 MB / 0.9252 GB, free: 7.031 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.035e-05/1.026, allocations: 71.97 kB / 0.9253 GB, free: 6.961 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/1.026, allocations: 3.984 kB / 0.9253 GB, free: 6.957 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.359e-05/1.026, allocations: 20.97 kB / 0.9253 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04056/1.067, allocations: 23.52 MB / 0.9483 GB, free: 15.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.714e-05/1.067, allocations: 0.875 kB / 0.9483 GB, free: 15.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006614/1.067, allocations: 127.8 kB / 0.9484 GB, free: 15.17 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08502/1.152, allocations: 26.8 MB / 0.9745 GB, free: 4.129 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00145/1.154, allocations: 67.98 kB / 0.9746 GB, free: 4.062 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.316/1.47, allocations: 16.73 MB / 0.991 GB, free: 239.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.47, allocations: 0 / 0.991 GB, free: 239.3 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02255/1.492, allocations: 14.05 MB / 1.005 GB, free: 234.6 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003936/1.496, allocations: 1.295 MB / 1.006 GB, free: 234.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001941/1.498, allocations: 59.41 kB / 1.006 GB, free: 234.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004368/1.503, allocations: 303.2 kB / 1.006 GB, free: 234 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006967/1.503, allocations: 182.1 kB / 1.006 GB, free: 234 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003077/1.504, allocations: 91.53 kB / 1.007 GB, free: 234 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.007994/1.512, allocations: 6.575 MB / 1.013 GB, free: 232 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.31e-07/1.512, allocations: 0 / 1.013 GB, free: 232 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.006756/1.519, allocations: 2.335 MB / 1.015 GB, free: 230.1 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (breaker.Open,breaker2.Open,breaker3.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(128,185)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02461/1.543, allocations: 15.05 MB / 1.03 GB, free: 216.2 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.02296/1.566, allocations: 12.12 MB / 1.042 GB, free: 204.2 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.566, allocations: 0 / 1.042 GB, free: 204.2 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.01708/1.583, allocations: 7.524 MB / 1.049 GB, free: 196.7 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006395/1.59, allocations: 0.5313 MB / 1.05 GB, free: 196.1 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1244/1.714, allocations: 81.39 MB / 1.129 GB, free: 114.1 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002503/1.717, allocations: 3.666 MB / 1.133 GB, free: 110.4 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002086/1.719, allocations: 0.9006 MB / 1.134 GB, free: 109.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004237/1.723, allocations: 3.151 MB / 1.137 GB, free: 106.4 MB / 0.6856 GB Notification: Performance of SimCode: time 7.91e-07/1.723, allocations: 0 / 1.137 GB, free: 106.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5052/2.228, allocations: 194 MB / 1.326 GB, free: 171 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.5/33.73, allocations: 3.938 kB / 1.326 GB, free: 171 MB / 0.6856 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.ThreePhase.IEEE13.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.ThreePhase.IEEE13.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.ThreePhase.IEEE13.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.ThreePhase.IEEE13.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.ThreePhase.IEEE13_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 OpenIPSL_2_0_0_OpenIPSL_Tests_ThreePhase_IEEE13.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.ThreePhase.IEEE13.pipe 2>&1)