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.001346/0.001346, allocations: 109.4 kB / 15.69 MB, free: 128 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.001514/0.001514, allocations: 185.7 kB / 16.62 MB, free: 6.613 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.409/1.409, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.685/1.685, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.00229/0.002291, allocations: 74.05 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2648, allocations: 114.5 MB / 0.7836 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01306/0.2779, allocations: 10.11 MB / 0.7935 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005685/0.2836, allocations: 3.214 MB / 0.7966 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009853/0.2847, allocations: 35.81 kB / 0.7967 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001848/0.2866, allocations: 0.6023 MB / 0.7973 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002028/0.2886, allocations: 0.7349 MB / 0.798 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001926/0.2906, allocations: 0.7408 MB / 0.7987 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003933/0.2945, allocations: 2.992 MB / 0.8016 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003626/0.2982, allocations: 2.61 MB / 0.8042 GB, free: 8.066 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002239/0.3004, allocations: 1.254 MB / 0.8054 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002219/0.3027, allocations: 1.562 MB / 0.8069 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000362/0.303, allocations: 239.9 kB / 0.8071 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.3043, allocations: 0.4916 MB / 0.8076 GB, free: 4.516 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001066/0.3054, allocations: 1.068 MB / 0.8087 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001115/0.3065, allocations: 1.116 MB / 0.8098 GB, free: 2.324 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003318/0.3098, allocations: 3.689 MB / 0.8134 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.3099, allocations: 7.938 kB / 0.8134 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3099, allocations: 0 / 0.8134 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.98e-05/0.3099, allocations: 0 / 0.8134 GB, free: 14.62 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.004219/0.3141, allocations: 2.142 MB / 0.8155 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.3142, allocations: 12.03 kB / 0.8155 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003305/0.3145, allocations: 261.2 kB / 0.8157 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008541/0.3231, allocations: 1.309 MB / 0.817 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002778/0.3259, allocations: 1.298 MB / 0.8183 GB, free: 9.484 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.006e-05/0.326, allocations: 115.4 kB / 0.8184 GB, free: 9.371 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003231/0.3263, allocations: 148.3 kB / 0.8185 GB, free: 9.227 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00511/0.3315, allocations: 3.441 MB / 0.8219 GB, free: 5.688 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.022e-05/0.3315, allocations: 7.906 kB / 0.8219 GB, free: 5.68 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002177/0.3317, allocations: 63.97 kB / 0.822 GB, free: 5.617 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002366/0.332, allocations: 203.1 kB / 0.8221 GB, free: 5.418 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004576/0.3366, allocations: 3.131 MB / 0.8252 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01676/0.3533, allocations: 13.55 MB / 0.8384 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002508/0.3559, allocations: 1.726 MB / 0.8401 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00188/0.3578, allocations: 1.444 MB / 0.8415 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.125e-05/0.3579, allocations: 9 kB / 0.8415 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.3579, allocations: 43.56 kB / 0.8416 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=104): time 2.705e-06/0.3579, allocations: 0 / 0.8416 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of matching and sorting (n=183): time 0.148/0.5059, allocations: 36.68 MB / 0.8774 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.506, allocations: 69.41 kB / 0.8775 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/0.5077, allocations: 1.053 MB / 0.8785 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0003446/0.508, allocations: 53.7 kB / 0.8785 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000535/0.5086, allocations: 0.7874 MB / 0.8793 GB, free: 9.777 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007271/0.5093, allocations: 0.6238 MB / 0.8799 GB, free: 9.145 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009403/0.5103, allocations: 367.3 kB / 0.8803 GB, free: 8.777 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.929e-05/0.5104, allocations: 301.1 kB / 0.8806 GB, free: 8.48 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002795/0.5132, allocations: 1.932 MB / 0.8824 GB, free: 6.547 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003165/0.5164, allocations: 2.281 MB / 0.8847 GB, free: 4.145 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005861/0.5222, allocations: 4.391 MB / 0.889 GB, free: 15.63 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.546e-05/0.5223, allocations: 4 kB / 0.889 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02036/0.5426, allocations: 9.024 MB / 0.8978 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/0.5427, allocations: 12 kB / 0.8978 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.5427, allocations: 8 kB / 0.8978 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01679/0.5595, allocations: 4.97 MB / 0.9027 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008709/0.5604, allocations: 203.6 kB / 0.9028 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4808/1.041, allocations: 38.89 MB / 0.9408 GB, free: 117.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002418/1.044, allocations: 99.89 kB / 0.9409 GB, free: 117.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002395/1.044, allocations: 69.08 kB / 0.941 GB, free: 117.7 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.001849/1.046, allocations: 0.7988 MB / 0.9418 GB, free: 117.4 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004905/1.046, allocations: 148.2 kB / 0.9419 GB, free: 117.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01986/1.066, allocations: 8.89 MB / 0.9506 GB, free: 114.6 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-05/1.066, allocations: 21.28 kB / 0.9506 GB, free: 114.6 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001002/1.066, allocations: 35.28 kB / 0.9506 GB, free: 114.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.856e-05/1.066, allocations: 9.078 kB / 0.9507 GB, free: 114.6 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02571/1.092, allocations: 13.27 MB / 0.9636 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.451e-05/1.092, allocations: 6.406 kB / 0.9636 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005351/1.093, allocations: 118.7 kB / 0.9637 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01525/1.108, allocations: 4.753 MB / 0.9684 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003018/1.108, allocations: 41.59 kB / 0.9684 GB, free: 106.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04189/1.15, allocations: 34.83 MB / 1.002 GB, free: 73.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.15, allocations: 4 kB / 1.002 GB, free: 73.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01703/1.167, allocations: 8.401 MB / 1.011 GB, free: 65.25 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001319/1.169, allocations: 0.6093 MB / 1.011 GB, free: 64.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002866/1.169, allocations: 44.83 kB / 1.011 GB, free: 64.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/1.17, allocations: 91.89 kB / 1.011 GB, free: 64.48 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008776/1.171, allocations: 153.7 kB / 1.012 GB, free: 64.33 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/1.171, allocations: 48 kB / 1.012 GB, free: 64.29 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008024/1.172, allocations: 0.7421 MB / 1.012 GB, free: 63.53 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/1.172, allocations: 4 kB / 1.012 GB, free: 63.53 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003074/1.175, allocations: 1.004 MB / 1.013 GB, free: 62.52 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.01664/1.192, allocations: 8.995 MB / 1.022 GB, free: 53.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008921/1.201, allocations: 5.874 MB / 1.028 GB, free: 47.53 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/1.201, allocations: 0 / 1.028 GB, free: 47.53 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006995/1.208, allocations: 3.83 MB / 1.032 GB, free: 43.65 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/1.21, allocations: 239.5 kB / 1.032 GB, free: 43.43 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05065/1.26, allocations: 30.89 MB / 1.062 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001456/1.262, allocations: 1.859 MB / 1.064 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000767/1.263, allocations: 360.7 kB / 1.064 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005542/1.263, allocations: 0.6008 MB / 1.065 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of SimCode: time 4.91e-07/1.263, allocations: 7.938 kB / 1.065 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.118/1.381, allocations: 74.2 MB / 1.137 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/13.39, allocations: 14.59 kB / 1.137 GB, free: 15.36 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)