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.006978/0.006978, allocations: 101 kB / 15.73 MB, free: 6.445 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.001828/0.001828, allocations: 191.5 kB / 16.67 MB, free: 6.348 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002428/0.002428, allocations: 290.4 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.052/1.052, allocations: 178.6 MB / 0.5074 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00268/0.00268, allocations: 96.38 kB / 0.6943 GB, free: 3.586 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.45/0.4527, allocations: 89.14 MB / 0.7813 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01273/0.4655, allocations: 10.01 MB / 0.7911 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005549/0.4711, allocations: 3.043 MB / 0.7941 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005741/0.4717, allocations: 34.56 kB / 0.7941 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001784/0.4735, allocations: 0.6857 MB / 0.7948 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001481/0.475, allocations: 0.6971 MB / 0.7955 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.4765, allocations: 0.6348 MB / 0.7961 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003125/0.4797, allocations: 2.735 MB / 0.7988 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002983/0.4826, allocations: 2.535 MB / 0.8012 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002013/0.4847, allocations: 1.131 MB / 0.8023 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001761/0.4864, allocations: 1.374 MB / 0.8037 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003066/0.4868, allocations: 217.1 kB / 0.8039 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.4878, allocations: 489.6 kB / 0.8044 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009179/0.4887, allocations: 0.9844 MB / 0.8053 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001051/0.4898, allocations: 1.016 MB / 0.8063 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003265/0.493, allocations: 3.41 MB / 0.8096 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.4931, allocations: 5.359 kB / 0.8097 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.462e-06/0.4931, allocations: 0 / 0.8097 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.904e-05/0.4931, allocations: 0 / 0.8097 GB, free: 11.99 MB / 0.5762 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.003659/0.4968, allocations: 1.996 MB / 0.8116 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.4968, allocations: 9.844 kB / 0.8116 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003385/0.4972, allocations: 249.6 kB / 0.8118 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005746/0.5029, allocations: 0.8885 MB / 0.8127 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/0.5048, allocations: 1.17 MB / 0.8139 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.402e-05/0.5049, allocations: 118.8 kB / 0.814 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002581/0.5052, allocations: 146.2 kB / 0.8141 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004453/0.5096, allocations: 3.013 MB / 0.8171 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.177e-05/0.5097, allocations: 2.344 kB / 0.8171 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001977/0.5099, allocations: 65.84 kB / 0.8171 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002123/0.5101, allocations: 179.5 kB / 0.8173 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003984/0.5141, allocations: 2.611 MB / 0.8198 GB, free: 5.82 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.01573/0.5299, allocations: 13.51 MB / 0.833 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002002/0.5319, allocations: 1.306 MB / 0.8343 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001448/0.5333, allocations: 1.043 MB / 0.8353 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.27e-05/0.5334, allocations: 12.59 kB / 0.8353 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.512e-05/0.5335, allocations: 43.22 kB / 0.8354 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 4.288e-06/0.5335, allocations: 0 / 0.8354 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of matching and sorting (n=139): time 0.07639/0.6099, allocations: 19.43 MB / 0.8543 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.61, allocations: 68.72 kB / 0.8544 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/0.6114, allocations: 0.9261 MB / 0.8553 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001527/0.6115, allocations: 45.7 kB / 0.8554 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005423/0.6121, allocations: 0.7463 MB / 0.8561 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004617/0.6125, allocations: 0.5035 MB / 0.8566 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005796/0.6131, allocations: 287.5 kB / 0.8569 GB, free: 328 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.6133, allocations: 353.9 kB / 0.8572 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001984/0.6153, allocations: 1.335 MB / 0.8585 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002215/0.6175, allocations: 1.659 MB / 0.8601 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00432/0.6219, allocations: 3.092 MB / 0.8631 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/0.6219, allocations: 4 kB / 0.8631 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01224/0.6341, allocations: 5.643 MB / 0.8686 GB, free: 3.973 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.6342, allocations: 16.59 kB / 0.8687 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.6342, allocations: 8 kB / 0.8687 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009244/0.6434, allocations: 2.711 MB / 0.8713 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008071/0.6443, allocations: 195.7 kB / 0.8715 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03802/0.6823, allocations: 25.74 MB / 0.8966 GB, free: 6.727 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.6839, allocations: 95.95 kB / 0.8967 GB, free: 6.633 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/0.6841, allocations: 55.98 kB / 0.8968 GB, free: 6.578 MB / 0.6544 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.001309/0.6854, allocations: 0.7315 MB / 0.8975 GB, free: 5.836 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002405/0.6856, allocations: 123.2 kB / 0.8976 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01199/0.6976, allocations: 5.392 MB / 0.9029 GB, free: 300 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.822e-05/0.6977, allocations: 12 kB / 0.9029 GB, free: 288 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.47e-05/0.6977, allocations: 20 kB / 0.9029 GB, free: 268 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.221e-05/0.6978, allocations: 11.97 kB / 0.9029 GB, free: 256 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01739/0.7152, allocations: 8.693 MB / 0.9114 GB, free: 7.434 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.7152, allocations: 4.375 kB / 0.9114 GB, free: 7.43 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000459/0.7157, allocations: 119.8 kB / 0.9115 GB, free: 7.312 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008699/0.7244, allocations: 2.596 MB / 0.9141 GB, free: 4.707 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001358/0.7245, allocations: 28 kB / 0.9141 GB, free: 4.68 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03629/0.7608, allocations: 24.18 MB / 0.9377 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.7609, allocations: 4 kB / 0.9377 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01153/0.7724, allocations: 5.249 MB / 0.9428 GB, free: 6.598 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/0.7735, allocations: 496.2 kB / 0.9433 GB, free: 6.094 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002349/0.7738, allocations: 27.98 kB / 0.9433 GB, free: 6.066 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009421/0.7747, allocations: 83.91 kB / 0.9434 GB, free: 5.984 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005503/0.7753, allocations: 121 kB / 0.9435 GB, free: 5.863 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/0.7754, allocations: 39.94 kB / 0.9436 GB, free: 5.824 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009229/0.7763, allocations: 0.6434 MB / 0.9442 GB, free: 5.188 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7763, allocations: 0 / 0.9442 GB, free: 5.188 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002459/0.7788, allocations: 0.7227 MB / 0.9449 GB, free: 4.465 MB / 0.7012 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.01165/0.7905, allocations: 5.846 MB / 0.9506 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007768/0.7983, allocations: 4.207 MB / 0.9547 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.7983, allocations: 0 / 0.9547 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.005533/0.8038, allocations: 2.724 MB / 0.9574 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.8053, allocations: 219.5 kB / 0.9576 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04057/0.8459, allocations: 21.45 MB / 0.9785 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00241/0.8483, allocations: 1.704 MB / 0.9802 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009124/0.8493, allocations: 325.5 kB / 0.9805 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008632/0.8501, allocations: 0.5368 MB / 0.981 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of SimCode: time 6.52e-07/0.8502, allocations: 0 / 0.981 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1051/0.9552, allocations: 52.72 MB / 1.033 GB, free: 10.45 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.51, allocations: 4.297 kB / 1.033 GB, free: 10.45 MB / 0.795 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)