Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.004421/0.004421, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001275/0.001275, allocations: 192.4 kB / 16.67 MB, free: 5.969 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002485/0.002485, allocations: 289.4 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.211/1.211, allocations: 178.6 MB / 0.5074 GB, free: 12.71 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002754/0.002754, allocations: 91.84 kB / 0.6943 GB, free: 15.21 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3945, allocations: 89.13 MB / 0.7813 GB, free: 1.152 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01872/0.4133, allocations: 14.78 MB / 0.7958 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01694/0.4303, allocations: 10.34 MB / 0.8059 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001602/0.4319, allocations: 54.56 kB / 0.8059 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004802/0.4367, allocations: 1.692 MB / 0.8076 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005924/0.4427, allocations: 1.809 MB / 0.8093 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002381/0.4451, allocations: 0.764 MB / 0.8101 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004684/0.4498, allocations: 2.746 MB / 0.8128 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00254/0.4523, allocations: 1.415 MB / 0.8141 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002851/0.4552, allocations: 1.5 MB / 0.8156 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002413/0.4576, allocations: 1.164 MB / 0.8167 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005128/0.4582, allocations: 160 kB / 0.8169 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00208/0.4602, allocations: 0.7838 MB / 0.8177 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009266/0.4612, allocations: 0.6114 MB / 0.8183 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001821/0.463, allocations: 0.9561 MB / 0.8192 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004547/0.4676, allocations: 2.771 MB / 0.8219 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4676, allocations: 4 kB / 0.8219 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4676, allocations: 0 / 0.8219 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.016e-05/0.4677, allocations: 0 / 0.8219 GB, free: 15.09 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005068/0.4728, allocations: 2.238 MB / 0.8241 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.4729, allocations: 8.031 kB / 0.8241 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002733/0.4731, allocations: 194.4 kB / 0.8243 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01222/0.4854, allocations: 2.117 MB / 0.8264 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003486/0.4889, allocations: 1.328 MB / 0.8277 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.737e-05/0.489, allocations: 82.69 kB / 0.8277 GB, free: 9 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004825/0.4895, allocations: 115.9 kB / 0.8278 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006396/0.4959, allocations: 2.674 MB / 0.8305 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.627e-05/0.496, allocations: 8 kB / 0.8305 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001851/0.4962, allocations: 47.98 kB / 0.8305 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007208/0.4969, allocations: 198.1 kB / 0.8307 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008311/0.5052, allocations: 2.791 MB / 0.8334 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0176/0.5228, allocations: 10.49 MB / 0.8437 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007304/0.5302, allocations: 2.344 MB / 0.846 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003461/0.5337, allocations: 1.276 MB / 0.8472 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001119/0.5338, allocations: 9 kB / 0.8472 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.29e-05/0.5339, allocations: 43.56 kB / 0.8473 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=89): time 2.826e-06/0.5339, allocations: 4 kB / 0.8473 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=153): time 0.06431/0.5982, allocations: 16.52 MB / 0.8634 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.5983, allocations: 68.72 kB / 0.8635 GB, free: 3.461 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001852/0.6002, allocations: 1.176 MB / 0.8646 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002207/0.6004, allocations: 49.7 kB / 0.8646 GB, free: 2.219 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006672/0.6011, allocations: 0.7607 MB / 0.8654 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006338/0.6017, allocations: 0.5383 MB / 0.8659 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006565/0.6024, allocations: 287.5 kB / 0.8662 GB, free: 0.625 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.6025, allocations: 305.1 kB / 0.8665 GB, free: 332 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003883/0.6064, allocations: 1.51 MB / 0.868 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004145/0.6106, allocations: 1.78 MB / 0.8697 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007988/0.6186, allocations: 3.362 MB / 0.873 GB, free: 9.477 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.6186, allocations: 4 kB / 0.873 GB, free: 9.473 MB / 0.6387 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01461/0.6332, allocations: 5.289 MB / 0.8781 GB, free: 4.145 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/0.6333, allocations: 8 kB / 0.8782 GB, free: 4.137 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/0.6333, allocations: 8 kB / 0.8782 GB, free: 4.129 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007384/0.6407, allocations: 1.881 MB / 0.88 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002122/0.6429, allocations: 419.2 kB / 0.8804 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03449/0.6774, allocations: 24.15 MB / 0.904 GB, free: 8.551 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002946/0.6804, allocations: 307.5 kB / 0.9043 GB, free: 8.25 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000382/0.6808, allocations: 67.91 kB / 0.9043 GB, free: 8.184 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001261/0.682, allocations: 469.5 kB / 0.9048 GB, free: 7.715 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005918/0.6826, allocations: 182.9 kB / 0.905 GB, free: 7.535 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01544/0.6981, allocations: 5.312 MB / 0.9102 GB, free: 2.176 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.368e-05/0.6982, allocations: 19.94 kB / 0.9102 GB, free: 2.156 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.882e-05/0.6982, allocations: 16 kB / 0.9102 GB, free: 2.141 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.3e-05/0.6983, allocations: 7.969 kB / 0.9102 GB, free: 2.133 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01898/0.7172, allocations: 7.434 MB / 0.9175 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.7173, allocations: 0 / 0.9175 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001838/0.7191, allocations: 359.7 kB / 0.9178 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006409/0.7256, allocations: 1.707 MB / 0.9195 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001785/0.7258, allocations: 47.89 kB / 0.9195 GB, free: 8.445 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03149/0.7573, allocations: 23.33 MB / 0.9423 GB, free: 12 kB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.7573, allocations: 0 / 0.9423 GB, free: 12 kB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01371/0.771, allocations: 4.896 MB / 0.9471 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/0.7722, allocations: 0.4996 MB / 0.9476 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004377/0.7726, allocations: 32 kB / 0.9476 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002492/0.7751, allocations: 315.5 kB / 0.9479 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005561/0.7757, allocations: 153 kB / 0.948 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001788/0.7759, allocations: 51.97 kB / 0.9481 GB, free: 9.969 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001425/0.7773, allocations: 0.7938 MB / 0.9489 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7774, allocations: 0 / 0.9489 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002667/0.78, allocations: 0.6523 MB / 0.9495 GB, free: 8.523 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01404/0.7941, allocations: 5.484 MB / 0.9549 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01292/0.807, allocations: 5.155 MB / 0.9599 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/0.8071, allocations: 4 kB / 0.9599 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.008169/0.8153, allocations: 3.366 MB / 0.9632 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003231/0.8185, allocations: 0.5566 MB / 0.9637 GB, free: 9.684 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05442/0.873, allocations: 21.92 MB / 0.9851 GB, free: 3.266 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001844/0.8749, allocations: 1.572 MB / 0.9867 GB, free: 1.66 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001555/0.8765, allocations: 382.4 kB / 0.987 GB, free: 1.281 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/0.8776, allocations: 0.6554 MB / 0.9877 GB, free: 0.625 MB / 0.7481 GB Notification: Performance of SimCode: time 1.222e-06/0.8776, allocations: 0 / 0.9877 GB, free: 0.625 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4465/1.324, allocations: 58.78 MB / 1.045 GB, free: 154.4 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.6/20.92, allocations: 11.39 kB / 1.045 GB, free: 154.4 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_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_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)