Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="BuildingSystems_BuildingSystems_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.001289/0.001289, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.432/1.432, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002594/0.002594, allocations: 298.6 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.084/1.084, allocations: 178.6 MB / 0.5073 GB, free: 4.586 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003814/0.003814, allocations: 102.9 kB / 0.6066 GB, free: 24.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1724, allocations: 89.15 MB / 0.6936 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01286/0.1853, allocations: 9.991 MB / 0.7034 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005158/0.1905, allocations: 3.045 MB / 0.7063 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004423/0.191, allocations: 39.81 kB / 0.7064 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001747/0.1928, allocations: 0.6782 MB / 0.707 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001275/0.1941, allocations: 0.7038 MB / 0.7077 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.1954, allocations: 0.6277 MB / 0.7083 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002826/0.1982, allocations: 2.734 MB / 0.711 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003015/0.2012, allocations: 2.554 MB / 0.7135 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001375/0.2026, allocations: 1.122 MB / 0.7146 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001877/0.2045, allocations: 1.379 MB / 0.716 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003387/0.2049, allocations: 216 kB / 0.7162 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009495/0.2058, allocations: 495.3 kB / 0.7166 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001008/0.2068, allocations: 0.9785 MB / 0.7176 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.2079, allocations: 1.023 MB / 0.7186 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003177/0.2111, allocations: 3.389 MB / 0.7219 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2111, allocations: 0 / 0.7219 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2111, allocations: 0 / 0.7219 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.181e-05/0.2112, allocations: 0 / 0.7219 GB, free: 7.168 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003451/0.2146, allocations: 1.943 MB / 0.7238 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.2147, allocations: 8.031 kB / 0.7238 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003402/0.215, allocations: 252.7 kB / 0.724 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005908/0.2209, allocations: 0.8844 MB / 0.7249 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/0.2228, allocations: 1.118 MB / 0.726 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.519e-05/0.2229, allocations: 115.3 kB / 0.7261 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002688/0.2232, allocations: 144.2 kB / 0.7262 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004607/0.2278, allocations: 3.017 MB / 0.7292 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.725e-05/0.2279, allocations: 7.938 kB / 0.7292 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001875/0.2281, allocations: 59.97 kB / 0.7293 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002284/0.2283, allocations: 179 kB / 0.7294 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004192/0.2325, allocations: 2.608 MB / 0.732 GB, free: 12.63 MB / 0.5294 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.01765/0.2502, allocations: 13.57 MB / 0.7452 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002175/0.2524, allocations: 1.295 MB / 0.7465 GB, free: 12.65 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/0.254, allocations: 1.054 MB / 0.7475 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.181e-05/0.254, allocations: 8.656 kB / 0.7475 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.421e-05/0.2541, allocations: 39.22 kB / 0.7476 GB, free: 11.54 MB / 0.545 GB Notification: Performance of pre-optimization done (n=82): time 3.607e-06/0.2541, allocations: 7.938 kB / 0.7476 GB, free: 11.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=139): time 0.3332/0.5873, allocations: 19.38 MB / 0.7665 GB, free: 64.64 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.5874, allocations: 70.09 kB / 0.7666 GB, free: 64.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.5886, allocations: 0.9168 MB / 0.7675 GB, free: 64.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001499/0.5888, allocations: 50.11 kB / 0.7675 GB, free: 64.15 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003724/0.5891, allocations: 0.7238 MB / 0.7682 GB, free: 63.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003511/0.5895, allocations: 487.5 kB / 0.7687 GB, free: 63.22 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005432/0.5901, allocations: 295.9 kB / 0.769 GB, free: 63.09 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.327e-05/0.5901, allocations: 352.2 kB / 0.7693 GB, free: 62.76 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/0.592, allocations: 1.338 MB / 0.7706 GB, free: 62.31 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/0.5938, allocations: 1.661 MB / 0.7722 GB, free: 61.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003491/0.5973, allocations: 3.088 MB / 0.7752 GB, free: 60.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.5973, allocations: 3.188 kB / 0.7752 GB, free: 60.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01091/0.6082, allocations: 5.641 MB / 0.7808 GB, free: 58.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/0.6083, allocations: 8.312 kB / 0.7808 GB, free: 58.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.302e-05/0.6083, allocations: 9.906 kB / 0.7808 GB, free: 58.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008505/0.6168, allocations: 2.743 MB / 0.7835 GB, free: 57.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007547/0.6176, allocations: 188.7 kB / 0.7836 GB, free: 57.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02924/0.6468, allocations: 25.72 MB / 0.8087 GB, free: 39.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.6484, allocations: 95.95 kB / 0.8088 GB, free: 39.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.6485, allocations: 59.98 kB / 0.8089 GB, free: 39.34 MB / 0.545 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.0008747/0.6494, allocations: 0.7399 MB / 0.8096 GB, free: 38.59 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/0.6496, allocations: 116.8 kB / 0.8097 GB, free: 38.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01303/0.6626, allocations: 5.392 MB / 0.815 GB, free: 33.05 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-05/0.6627, allocations: 16 kB / 0.815 GB, free: 33.04 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-05/0.6628, allocations: 19.94 kB / 0.815 GB, free: 33.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.463e-05/0.6628, allocations: 11.97 kB / 0.815 GB, free: 33.01 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0216/0.6844, allocations: 8.632 MB / 0.8235 GB, free: 24.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.578e-05/0.6844, allocations: 4.469 kB / 0.8235 GB, free: 24.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006649/0.6851, allocations: 127.8 kB / 0.8236 GB, free: 24.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009583/0.6947, allocations: 2.563 MB / 0.8261 GB, free: 21.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001478/0.6949, allocations: 28 kB / 0.8261 GB, free: 21.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02636/0.7213, allocations: 23 MB / 0.8486 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.7213, allocations: 4 kB / 0.8486 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/0.7328, allocations: 5.134 MB / 0.8536 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009854/0.7339, allocations: 471.6 kB / 0.8541 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002262/0.7341, allocations: 33.88 kB / 0.8541 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009622/0.7351, allocations: 75.89 kB / 0.8542 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005145/0.7356, allocations: 124.4 kB / 0.8543 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/0.7357, allocations: 40 kB / 0.8543 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008867/0.7366, allocations: 0.6434 MB / 0.8549 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7366, allocations: 0 / 0.8549 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002352/0.739, allocations: 0.7227 MB / 0.8557 GB, free: 6.711 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.01181/0.7508, allocations: 5.717 MB / 0.8612 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008657/0.7595, allocations: 4.741 MB / 0.8659 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.7595, allocations: 0 / 0.8659 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005417/0.7649, allocations: 2.652 MB / 0.8685 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.7663, allocations: 218.5 kB / 0.8687 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03942/0.8057, allocations: 21.85 MB / 0.89 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001652/0.8074, allocations: 1.7 MB / 0.8917 GB, free: 1.062 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008064/0.8082, allocations: 331.5 kB / 0.892 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006752/0.8089, allocations: 0.5305 MB / 0.8925 GB, free: 216 kB / 0.5919 GB Notification: Performance of SimCode: time 6.81e-07/0.8089, allocations: 0 / 0.8925 GB, free: 216 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1005/0.9094, allocations: 51.39 MB / 0.9427 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/11.29, allocations: 8.375 kB / 0.9427 GB, free: 13.25 MB / 0.6544 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)