Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",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.001773/0.001773, allocations: 108 kB / 15.6 MB, free: 132 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.002284/0.002285, allocations: 194.1 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.1 MB / 222.4 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.663/1.663, allocations: 292.3 MB / 0.5489 GB, free: 12.82 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 71.14 kB / 0.6716 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2342, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01366/0.2479, allocations: 10.09 MB / 0.7933 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006516/0.2544, allocations: 3.221 MB / 0.7965 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.2556, allocations: 35.81 kB / 0.7965 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00181/0.2574, allocations: 0.5907 MB / 0.7971 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001686/0.2592, allocations: 0.7426 MB / 0.7978 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001813/0.261, allocations: 0.744 MB / 0.7985 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003194/0.2642, allocations: 2.996 MB / 0.8015 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00295/0.2672, allocations: 2.614 MB / 0.804 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001891/0.2691, allocations: 1.25 MB / 0.8052 GB, free: 6.949 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002046/0.2711, allocations: 1.558 MB / 0.8068 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000361/0.2715, allocations: 236 kB / 0.807 GB, free: 5.156 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.2725, allocations: 0.4916 MB / 0.8075 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001091/0.2736, allocations: 1.072 MB / 0.8085 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001654/0.2753, allocations: 1.109 MB / 0.8096 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004089/0.2794, allocations: 3.665 MB / 0.8132 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2794, allocations: 4 kB / 0.8132 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2794, allocations: 0 / 0.8132 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.404e-05/0.2795, allocations: 0 / 0.8132 GB, free: 14.8 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004535/0.284, allocations: 2.158 MB / 0.8153 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.2841, allocations: 8.031 kB / 0.8153 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003311/0.2844, allocations: 257.2 kB / 0.8155 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008963/0.2934, allocations: 1.313 MB / 0.8168 GB, free: 11 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002502/0.296, allocations: 1.251 MB / 0.818 GB, free: 9.699 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.873e-05/0.2961, allocations: 119.3 kB / 0.8182 GB, free: 9.582 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000368/0.2964, allocations: 144.3 kB / 0.8183 GB, free: 9.441 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005866/0.3023, allocations: 3.437 MB / 0.8217 GB, free: 5.906 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.16e-05/0.3024, allocations: 11.83 kB / 0.8217 GB, free: 5.895 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002167/0.3026, allocations: 63.97 kB / 0.8217 GB, free: 5.832 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002845/0.3029, allocations: 203.1 kB / 0.8219 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005068/0.308, allocations: 3.128 MB / 0.825 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01822/0.3262, allocations: 13.61 MB / 0.8383 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002594/0.3289, allocations: 1.742 MB / 0.84 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002002/0.3309, allocations: 1.436 MB / 0.8414 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.092e-05/0.331, allocations: 9 kB / 0.8414 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.331, allocations: 47.56 kB / 0.8414 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=104): time 3.727e-06/0.331, allocations: 0 / 0.8414 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of matching and sorting (n=183): time 0.156/0.4871, allocations: 36.67 MB / 0.8772 GB, free: 11.94 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.4872, allocations: 73.34 kB / 0.8773 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/0.4888, allocations: 1.054 MB / 0.8783 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0003156/0.4891, allocations: 57.7 kB / 0.8784 GB, free: 10.72 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005703/0.4897, allocations: 0.7912 MB / 0.8792 GB, free: 9.914 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007688/0.4904, allocations: 0.62 MB / 0.8798 GB, free: 9.285 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001033/0.4915, allocations: 363.3 kB / 0.8801 GB, free: 8.922 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.4916, allocations: 305.1 kB / 0.8804 GB, free: 8.621 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002981/0.4946, allocations: 1.928 MB / 0.8823 GB, free: 6.691 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003042/0.4977, allocations: 2.289 MB / 0.8845 GB, free: 4.281 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006191/0.5039, allocations: 4.391 MB / 0.8888 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.474e-05/0.5039, allocations: 7.938 kB / 0.8888 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02191/0.5258, allocations: 9.021 MB / 0.8976 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.956e-05/0.5259, allocations: 15.98 kB / 0.8976 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.347e-05/0.5259, allocations: 12 kB / 0.8977 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01806/0.544, allocations: 5.005 MB / 0.9025 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009934/0.545, allocations: 191.7 kB / 0.9027 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4508/0.9959, allocations: 38.92 MB / 0.9407 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002155/0.9981, allocations: 104.3 kB / 0.9408 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002221/0.9983, allocations: 64.09 kB / 0.9409 GB, free: 117.6 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001355/0.9997, allocations: 0.7991 MB / 0.9417 GB, free: 117.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000377/1, allocations: 142.5 kB / 0.9418 GB, free: 117.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0196/1.02, allocations: 8.895 MB / 0.9505 GB, free: 114.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.263e-05/1.02, allocations: 25.5 kB / 0.9505 GB, free: 114.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.198e-05/1.02, allocations: 29.31 kB / 0.9506 GB, free: 114.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.921e-05/1.02, allocations: 7.453 kB / 0.9506 GB, free: 114.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02482/1.045, allocations: 13.3 MB / 0.9635 GB, free: 109.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.358e-05/1.045, allocations: 5.969 kB / 0.9636 GB, free: 109.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004874/1.045, allocations: 123.4 kB / 0.9637 GB, free: 109.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01478/1.06, allocations: 4.785 MB / 0.9683 GB, free: 106.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002673/1.06, allocations: 39.56 kB / 0.9684 GB, free: 106.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05064/1.111, allocations: 34.86 MB / 1.002 GB, free: 73.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/1.111, allocations: 4 kB / 1.002 GB, free: 73.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01867/1.13, allocations: 8.404 MB / 1.011 GB, free: 65.31 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001351/1.131, allocations: 0.6124 MB / 1.011 GB, free: 64.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003286/1.131, allocations: 36.83 kB / 1.011 GB, free: 64.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/1.133, allocations: 91.89 kB / 1.011 GB, free: 64.55 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007913/1.134, allocations: 161.7 kB / 1.012 GB, free: 64.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/1.134, allocations: 48 kB / 1.012 GB, free: 64.35 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009047/1.135, allocations: 0.7343 MB / 1.012 GB, free: 63.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/1.135, allocations: 0 / 1.012 GB, free: 63.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002981/1.138, allocations: 1.008 MB / 1.013 GB, free: 62.59 MB / 0.7325 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01691/1.155, allocations: 8.999 MB / 1.022 GB, free: 53.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009947/1.165, allocations: 6.689 MB / 1.029 GB, free: 46.79 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/1.165, allocations: 0 / 1.029 GB, free: 46.79 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007111/1.172, allocations: 3.826 MB / 1.032 GB, free: 42.92 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/1.174, allocations: 245.1 kB / 1.033 GB, free: 42.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05092/1.225, allocations: 31.73 MB / 1.064 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001269/1.226, allocations: 1.855 MB / 1.065 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007559/1.227, allocations: 362 kB / 1.066 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005455/1.227, allocations: 0.6047 MB / 1.066 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of SimCode: time 1.001e-06/1.227, allocations: 0 / 1.066 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1423/1.369, allocations: 74.17 MB / 1.139 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/12.15, allocations: 12.75 kB / 1.139 GB, free: 13.43 MB / 0.8106 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)