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.004182/0.004182, allocations: 96.31 kB / 15.73 MB, free: 5.996 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.0009733/0.0009733, allocations: 186 kB / 16.67 MB, free: 5.926 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.238/1.238, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002107/0.002107, allocations: 279 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8847/0.8847, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 96.36 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.148, allocations: 86.97 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.3156/0.4636, allocations: 9.991 MB / 0.7757 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004544/0.4682, allocations: 3.048 MB / 0.7786 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003885/0.4686, allocations: 34.88 kB / 0.7787 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.4702, allocations: 0.6885 MB / 0.7794 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.4714, allocations: 0.7242 MB / 0.7801 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.4726, allocations: 0.6443 MB / 0.7807 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002087/0.4747, allocations: 2.735 MB / 0.7834 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002477/0.4772, allocations: 2.523 MB / 0.7858 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001383/0.4786, allocations: 1.149 MB / 0.7869 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001381/0.48, allocations: 1.381 MB / 0.7883 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002273/0.4802, allocations: 214.1 kB / 0.7885 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007735/0.481, allocations: 0.4902 MB / 0.789 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007849/0.4818, allocations: 0.9772 MB / 0.7899 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008177/0.4826, allocations: 1.011 MB / 0.7909 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003018/0.4856, allocations: 3.418 MB / 0.7943 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4856, allocations: 2.5 kB / 0.7943 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4856, allocations: 0 / 0.7943 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.901e-05/0.4857, allocations: 0 / 0.7943 GB, free: 4.25 MB / 0.5606 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.003153/0.4889, allocations: 1.988 MB / 0.7962 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.4889, allocations: 10.78 kB / 0.7962 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003262/0.4892, allocations: 256.6 kB / 0.7965 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00578/0.495, allocations: 0.8933 MB / 0.7973 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002314/0.4973, allocations: 1.169 MB / 0.7985 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.4975, allocations: 114.2 kB / 0.7986 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002859/0.4978, allocations: 142.2 kB / 0.7987 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004284/0.5021, allocations: 3.014 MB / 0.8017 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.827e-05/0.5021, allocations: 6.375 kB / 0.8017 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001803/0.5023, allocations: 66.34 kB / 0.8017 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002128/0.5025, allocations: 173.5 kB / 0.8019 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003817/0.5063, allocations: 2.611 MB / 0.8044 GB, free: 15.86 MB / 0.5762 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.01481/0.5212, allocations: 13.51 MB / 0.8176 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001792/0.523, allocations: 1.295 MB / 0.8189 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001245/0.5242, allocations: 1.045 MB / 0.8199 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.554e-05/0.5243, allocations: 8.312 kB / 0.8199 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.5243, allocations: 46.28 kB / 0.82 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 2.615e-06/0.5243, allocations: 0 / 0.82 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=139): time 0.06951/0.5938, allocations: 19.42 MB / 0.8389 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.5939, allocations: 64.72 kB / 0.839 GB, free: 8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.595, allocations: 0.9223 MB / 0.8399 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000114/0.5951, allocations: 45.7 kB / 0.8399 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004227/0.5956, allocations: 0.7502 MB / 0.8407 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003887/0.5959, allocations: 0.5035 MB / 0.8412 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005317/0.5965, allocations: 287.5 kB / 0.8414 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.5966, allocations: 353.9 kB / 0.8418 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001739/0.5984, allocations: 1.335 MB / 0.8431 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001887/0.6003, allocations: 1.663 MB / 0.8447 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003668/0.604, allocations: 3.094 MB / 0.8477 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.604, allocations: 4 kB / 0.8477 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01106/0.615, allocations: 5.64 MB / 0.8532 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.6151, allocations: 11.94 kB / 0.8533 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.6151, allocations: 8 kB / 0.8533 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008354/0.6235, allocations: 2.72 MB / 0.8559 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007468/0.6242, allocations: 191.7 kB / 0.8561 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03336/0.6576, allocations: 25.74 MB / 0.8812 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.6592, allocations: 95.95 kB / 0.8813 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002454/0.6594, allocations: 59.98 kB / 0.8814 GB, free: 11.72 MB / 0.6387 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.001335/0.6608, allocations: 0.7315 MB / 0.8821 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003281/0.6611, allocations: 119.2 kB / 0.8822 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01058/0.6717, allocations: 5.404 MB / 0.8875 GB, free: 5.422 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.6717, allocations: 12 kB / 0.8875 GB, free: 5.41 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.322e-05/0.6718, allocations: 23.94 kB / 0.8875 GB, free: 5.387 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.6718, allocations: 7.969 kB / 0.8875 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02355/0.6954, allocations: 8.689 MB / 0.896 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.6954, allocations: 4 kB / 0.896 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007215/0.6961, allocations: 116.3 kB / 0.8961 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01229/0.7084, allocations: 2.593 MB / 0.8987 GB, free: 9.848 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001678/0.7086, allocations: 24 kB / 0.8987 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03163/0.7403, allocations: 24.18 MB / 0.9223 GB, free: 1.082 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.7403, allocations: 7.938 kB / 0.9223 GB, free: 1.074 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01102/0.7513, allocations: 5.249 MB / 0.9274 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/0.7525, allocations: 0.4884 MB / 0.9279 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003407/0.7529, allocations: 24 kB / 0.9279 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.754, allocations: 79.91 kB / 0.928 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005062/0.7545, allocations: 125 kB / 0.9281 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/0.7546, allocations: 36 kB / 0.9282 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000856/0.7555, allocations: 0.6434 MB / 0.9288 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7555, allocations: 0 / 0.9288 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002356/0.7578, allocations: 0.7188 MB / 0.9295 GB, free: 9.613 MB / 0.6856 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.01048/0.7683, allocations: 5.846 MB / 0.9352 GB, free: 3.676 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006792/0.7751, allocations: 4.22 MB / 0.9393 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.7752, allocations: 0 / 0.9393 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.005206/0.7804, allocations: 2.724 MB / 0.942 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/0.7819, allocations: 222.7 kB / 0.9422 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03642/0.8183, allocations: 21.46 MB / 0.9632 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001776/0.8202, allocations: 1.704 MB / 0.9648 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007656/0.8209, allocations: 333.4 kB / 0.9651 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007114/0.8217, allocations: 0.5305 MB / 0.9657 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of SimCode: time 6.81e-07/0.8217, allocations: 0 / 0.9657 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08866/0.9103, allocations: 52.73 MB / 1.017 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.57, allocations: 11.22 kB / 1.017 GB, free: 15.57 MB / 0.7794 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)