Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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/Complex 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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.001173/0.001173, allocations: 102.4 kB / 16.27 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 185.4 kB / 17.19 MB, free: 5.523 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.305/1.305, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7444/0.7444, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 59.91 kB / 0.4912 GB, free: 7.312 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3398, allocations: 77.92 MB / 0.5673 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.009617/0.3495, allocations: 9.999 MB / 0.5771 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004489/0.354, allocations: 3.046 MB / 0.58 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005249/0.3545, allocations: 40.44 kB / 0.5801 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.3562, allocations: 0.6716 MB / 0.5807 GB, free: 23.4 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001288/0.3575, allocations: 0.6941 MB / 0.5814 GB, free: 23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.3588, allocations: 0.6355 MB / 0.582 GB, free: 22.65 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003307/0.3621, allocations: 2.745 MB / 0.5847 GB, free: 21.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002944/0.3651, allocations: 2.541 MB / 0.5872 GB, free: 20.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002001/0.3671, allocations: 1.129 MB / 0.5883 GB, free: 19.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002313/0.3694, allocations: 1.379 MB / 0.5896 GB, free: 18.6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004296/0.3699, allocations: 219.9 kB / 0.5898 GB, free: 18.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.3712, allocations: 489.8 kB / 0.5903 GB, free: 18.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009569/0.3722, allocations: 0.9845 MB / 0.5913 GB, free: 17.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009978/0.3732, allocations: 1.011 MB / 0.5923 GB, free: 17.15 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002378/0.3756, allocations: 3.387 MB / 0.5956 GB, free: 13.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.3756, allocations: 4 kB / 0.5956 GB, free: 13.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3756, allocations: 0 / 0.5956 GB, free: 13.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.61e-05/0.3757, allocations: 0 / 0.5956 GB, free: 13.78 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003028/0.3787, allocations: 1.947 MB / 0.5975 GB, free: 11.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.3788, allocations: 12.62 kB / 0.5975 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002413/0.379, allocations: 252.7 kB / 0.5977 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005338/0.3844, allocations: 0.8844 MB / 0.5986 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.3859, allocations: 1.11 MB / 0.5997 GB, free: 9.465 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.846e-05/0.3859, allocations: 115.3 kB / 0.5998 GB, free: 9.352 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002106/0.3861, allocations: 144.3 kB / 0.5999 GB, free: 9.211 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00335/0.3895, allocations: 3.017 MB / 0.6029 GB, free: 6.094 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/0.3895, allocations: 0 / 0.6029 GB, free: 6.094 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001617/0.3897, allocations: 67.97 kB / 0.6029 GB, free: 6.027 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001552/0.3899, allocations: 179 kB / 0.6031 GB, free: 5.852 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003015/0.3929, allocations: 2.608 MB / 0.6057 GB, free: 3.238 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.01372/0.4066, allocations: 13.56 MB / 0.6189 GB, free: 4.578 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/0.4084, allocations: 1.3 MB / 0.6202 GB, free: 3.262 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/0.4097, allocations: 1.054 MB / 0.6212 GB, free: 2.203 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.647e-05/0.4097, allocations: 8.656 kB / 0.6212 GB, free: 2.195 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.4098, allocations: 43.22 kB / 0.6212 GB, free: 2.145 MB / 462.1 MB Notification: Performance of pre-optimization done (n=82): time 2.404e-06/0.4098, allocations: 0 / 0.6212 GB, free: 2.145 MB / 462.1 MB Notification: Performance of matching and sorting (n=139): time 0.07295/0.4827, allocations: 19.38 MB / 0.6402 GB, free: 14.63 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.4828, allocations: 72.66 kB / 0.6402 GB, free: 14.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.484, allocations: 0.9183 MB / 0.6411 GB, free: 13.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001519/0.4842, allocations: 49.7 kB / 0.6412 GB, free: 13.56 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004243/0.4846, allocations: 0.7321 MB / 0.6419 GB, free: 12.81 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003834/0.485, allocations: 481 kB / 0.6424 GB, free: 12.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005322/0.4855, allocations: 291.5 kB / 0.6426 GB, free: 12.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.4856, allocations: 357.9 kB / 0.643 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001695/0.4873, allocations: 1.339 MB / 0.6443 GB, free: 10.35 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0019/0.4893, allocations: 1.659 MB / 0.6459 GB, free: 8.578 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00371/0.493, allocations: 3.084 MB / 0.6489 GB, free: 5.375 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.493, allocations: 4 kB / 0.6489 GB, free: 5.371 MB / 494.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01117/0.5042, allocations: 5.643 MB / 0.6544 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.5042, allocations: 20.06 kB / 0.6544 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.5042, allocations: 8 kB / 0.6545 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008458/0.5127, allocations: 2.722 MB / 0.6571 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009413/0.5137, allocations: 191.7 kB / 0.6573 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03458/0.5483, allocations: 25.74 MB / 0.6824 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.5499, allocations: 91.95 kB / 0.6825 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/0.55, allocations: 60 kB / 0.6826 GB, free: 2.301 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00109/0.5511, allocations: 0.7354 MB / 0.6833 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002369/0.5513, allocations: 122.6 kB / 0.6834 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01085/0.5622, allocations: 5.392 MB / 0.6887 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.031e-05/0.5623, allocations: 12 kB / 0.6887 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.492e-05/0.5623, allocations: 23.94 kB / 0.6887 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.152e-05/0.5623, allocations: 7.969 kB / 0.6887 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01545/0.5778, allocations: 8.637 MB / 0.6972 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/0.5778, allocations: 4 kB / 0.6972 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004463/0.5783, allocations: 119.8 kB / 0.6973 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007929/0.5862, allocations: 2.565 MB / 0.6998 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001375/0.5864, allocations: 28 kB / 0.6998 GB, free: 496 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03064/0.617, allocations: 23.02 MB / 0.7223 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.6171, allocations: 4 kB / 0.7223 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0101/0.6272, allocations: 5.122 MB / 0.7273 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008673/0.6281, allocations: 475.7 kB / 0.7277 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002222/0.6283, allocations: 32.36 kB / 0.7278 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000915/0.6292, allocations: 79.84 kB / 0.7279 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004992/0.6297, allocations: 133 kB / 0.728 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.637e-05/0.6298, allocations: 36 kB / 0.728 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007591/0.6306, allocations: 0.6395 MB / 0.7286 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.783e-06/0.6306, allocations: 4 kB / 0.7286 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002179/0.6328, allocations: 0.7265 MB / 0.7294 GB, free: 1.559 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01036/0.6432, allocations: 5.699 MB / 0.7349 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007573/0.6508, allocations: 4.727 MB / 0.7395 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.6508, allocations: 0 / 0.7395 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005207/0.656, allocations: 2.662 MB / 0.7421 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.6573, allocations: 220.5 kB / 0.7423 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2693/0.9266, allocations: 21.84 MB / 0.7637 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001334/0.928, allocations: 1.701 MB / 0.7653 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007295/0.9287, allocations: 322.8 kB / 0.7656 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004883/0.9292, allocations: 0.5311 MB / 0.7662 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of SimCode: time 9.62e-07/0.9292, allocations: 3.688 kB / 0.7662 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06728/0.9965, allocations: 51.35 MB / 0.8163 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.361/10.36, allocations: 10.38 kB / 0.8163 GB, free: 108.9 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)