Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.703/2.703, allocations: 287.5 MB / 302.4 MB, free: 8.387 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001363/0.001363, allocations: 182 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.125/2.125, allocations: 205.4 MB / 0.6297 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000922/0.000922, allocations: 96.39 kB / 0.743 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004984/0.0004984, allocations: 15.83 kB / 0.8659 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2118, allocations: 115.3 MB / 0.9785 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04823/0.26, allocations: 34.16 MB / 1.012 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03139/0.2915, allocations: 12.43 MB / 1.024 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004096/0.2956, allocations: 151.1 kB / 1.024 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.00386/0.2996, allocations: 0.748 MB / 1.025 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.008812/0.3084, allocations: 2.052 MB / 1.027 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.007802/0.3163, allocations: 1.619 MB / 1.028 GB, free: 8.93 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01902/0.3353, allocations: 10.6 MB / 1.039 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03032/0.3658, allocations: 11.44 MB / 1.05 GB, free: 2.785 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008659/0.3745, allocations: 2.957 MB / 1.053 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01003/0.3846, allocations: 3.761 MB / 1.057 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.002362/0.387, allocations: 316 kB / 1.057 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005387/0.3924, allocations: 0.7805 MB / 1.058 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.00569/0.3981, allocations: 2.439 MB / 1.06 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.003506/0.4017, allocations: 1.167 MB / 1.061 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.6677/1.069, allocations: 9.722 MB / 1.071 GB, free: 26.79 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/1.069, allocations: 1.562 kB / 1.071 GB, free: 26.79 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.548e-06/1.07, allocations: 0.75 kB / 1.071 GB, free: 26.79 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004322/1.07, allocations: 2.078 kB / 1.071 GB, free: 26.79 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02179/1.092, allocations: 5.198 MB / 1.076 GB, free: 24.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/1.092, allocations: 13.78 kB / 1.076 GB, free: 24.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004147/1.096, allocations: 0.7465 MB / 1.076 GB, free: 24.63 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01487/1.111, allocations: 1.308 MB / 1.078 GB, free: 24.31 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01334/1.124, allocations: 3.471 MB / 1.081 GB, free: 23.63 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007667/1.125, allocations: 381.4 kB / 1.081 GB, free: 23.62 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003502/1.129, allocations: 0.4951 MB / 1.082 GB, free: 23.61 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03303/1.162, allocations: 8.844 MB / 1.091 GB, free: 22.55 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002969/1.162, allocations: 33.66 kB / 1.091 GB, free: 22.54 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002194/1.164, allocations: 222.5 kB / 1.091 GB, free: 22.54 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004235/1.169, allocations: 0.632 MB / 1.091 GB, free: 22.53 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02397/1.193, allocations: 6.978 MB / 1.098 GB, free: 22.48 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07347/1.266, allocations: 40.38 MB / 1.138 GB, free: 13.33 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00723/1.273, allocations: 2.878 MB / 1.14 GB, free: 12.07 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006596/1.28, allocations: 2.658 MB / 1.143 GB, free: 10.97 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005794/1.281, allocations: 39.16 kB / 1.143 GB, free: 10.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.164e-05/1.281, allocations: 69.45 kB / 1.143 GB, free: 10.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=265): time 5.951e-06/1.281, allocations: 0 / 1.143 GB, free: 10.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=424): time 0.5843/1.865, allocations: 77.41 MB / 1.219 GB, free: 9.133 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/1.865, allocations: 98.11 kB / 1.219 GB, free: 9.027 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005196/1.87, allocations: 2.336 MB / 1.221 GB, free: 6.68 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.001131/1.872, allocations: 97.7 kB / 1.221 GB, free: 6.578 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.002612/1.874, allocations: 2.336 MB / 1.224 GB, free: 4.227 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.002868/1.877, allocations: 1.439 MB / 1.225 GB, free: 2.797 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007031/1.878, allocations: 84 kB / 1.225 GB, free: 2.715 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0004352/1.878, allocations: 483.2 kB / 1.225 GB, free: 2.234 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009166/1.888, allocations: 2.984 MB / 1.228 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01051/1.898, allocations: 3.822 MB / 1.232 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/1.908, allocations: 3.554 MB / 1.236 GB, free: 7.555 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.894e-05/1.909, allocations: 8 kB / 1.236 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.05562/1.964, allocations: 12.5 MB / 1.248 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 6.023e-05/1.964, allocations: 19.75 kB / 1.248 GB, free: 11.24 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.403e-05/1.964, allocations: 20 kB / 1.248 GB, free: 11.22 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04314/2.007, allocations: 6.014 MB / 1.254 GB, free: 5.156 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004292/2.012, allocations: 491.8 kB / 1.254 GB, free: 4.707 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1495/2.161, allocations: 67.2 MB / 1.32 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006658/2.168, allocations: 211.8 kB / 1.32 GB, free: 14.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001338/2.169, allocations: 160 kB / 1.32 GB, free: 14.24 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006872/2.176, allocations: 1.992 MB / 1.322 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002078/2.178, allocations: 395.4 kB / 1.322 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05739/2.236, allocations: 12.18 MB / 1.334 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.934e-05/2.236, allocations: 40 kB / 1.334 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002212/2.236, allocations: 51.95 kB / 1.334 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001153/2.236, allocations: 19.92 kB / 1.334 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07488/2.311, allocations: 19.12 MB / 1.353 GB, free: 12.58 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.605e-05/2.311, allocations: 11.95 kB / 1.353 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00307/2.314, allocations: 293.5 kB / 1.353 GB, free: 12.29 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03929/2.354, allocations: 5.557 MB / 1.359 GB, free: 6.684 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001009/2.355, allocations: 76 kB / 1.359 GB, free: 6.609 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1327/2.488, allocations: 64.81 MB / 1.422 GB, free: 2.875 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.509e-05/2.488, allocations: 11.56 kB / 1.422 GB, free: 2.867 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7507/3.238, allocations: 15.55 MB / 1.437 GB, free: 330.4 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004209/3.243, allocations: 1.049 MB / 1.438 GB, free: 330.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002175/3.245, allocations: 82.64 kB / 1.439 GB, free: 330.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006025/3.251, allocations: 220.8 kB / 1.439 GB, free: 330.3 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002474/3.253, allocations: 399.6 kB / 1.439 GB, free: 330.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009936/3.254, allocations: 108.3 kB / 1.439 GB, free: 330.3 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.004191/3.259, allocations: 1.531 MB / 1.441 GB, free: 330.1 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9.51e-07/3.259, allocations: 0 / 1.441 GB, free: 330.1 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.011/3.27, allocations: 1.845 MB / 1.443 GB, free: 330.1 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05736/3.327, allocations: 16.24 MB / 1.458 GB, free: 324.9 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0365/3.364, allocations: 12.18 MB / 1.47 GB, free: 318.3 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.619e-05/3.364, allocations: 2.219 kB / 1.47 GB, free: 318.3 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.02458/3.388, allocations: 8.387 MB / 1.478 GB, free: 313.4 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01093/3.399, allocations: 1.103 MB / 1.48 GB, free: 313.1 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1233/3.523, allocations: 42.76 MB / 1.521 GB, free: 282.9 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007921/3.531, allocations: 4.088 MB / 1.525 GB, free: 278.8 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004162/3.535, allocations: 0.6708 MB / 1.526 GB, free: 278.1 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004327/3.539, allocations: 2.136 MB / 1.528 GB, free: 276 MB / 0.9636 GB Notification: Performance of SimCode: time 1.613e-06/3.539, allocations: 0 / 1.528 GB, free: 276 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3108/3.85, allocations: 143.7 MB / 1.668 GB, free: 133.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002276/3.85, allocations: 226.7 kB / 1.669 GB, free: 132.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.68/11.53, allocations: 3.938 kB / 1.669 GB, free: 132.9 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)