Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.457/1.457, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 180.4 kB / 327 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.866/1.866, allocations: 205.4 MB / 0.578 GB, free: 20.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008131/0.0008132, allocations: 82.42 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003807/0.000381, allocations: 9 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.184, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02308/0.2071, allocations: 29.6 MB / 0.9298 GB, free: 33.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01736/0.2245, allocations: 13.45 MB / 0.943 GB, free: 20.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003345/0.2279, allocations: 131.2 kB / 0.9431 GB, free: 20.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002382/0.2303, allocations: 0.6512 MB / 0.9437 GB, free: 19.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006721/0.237, allocations: 2.476 MB / 0.9461 GB, free: 16.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003941/0.241, allocations: 1.709 MB / 0.9478 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00904/0.25, allocations: 10.39 MB / 0.958 GB, free: 4.777 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01624/0.2663, allocations: 10.17 MB / 0.9679 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005878/0.2722, allocations: 2.627 MB / 0.9705 GB, free: 7.863 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00574/0.278, allocations: 2.95 MB / 0.9733 GB, free: 4.898 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.001416/0.2794, allocations: 244 kB / 0.9736 GB, free: 4.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003719/0.2832, allocations: 1.38 MB / 0.9749 GB, free: 3.277 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.002907/0.2861, allocations: 1.909 MB / 0.9768 GB, free: 1.363 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.004527/0.2906, allocations: 2.38 MB / 0.9791 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01071/0.3014, allocations: 9.002 MB / 0.9879 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.088e-05/0.3014, allocations: 4 kB / 0.9879 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.635e-06/0.3014, allocations: 7.938 kB / 0.9879 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003013/0.3018, allocations: 0 / 0.9879 GB, free: 5.922 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01012/0.3119, allocations: 4.154 MB / 0.992 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/0.312, allocations: 8.031 kB / 0.992 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002043/0.314, allocations: 0.6164 MB / 0.9926 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006267/0.3203, allocations: 1.006 MB / 0.9936 GB, free: 44 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00612/0.3264, allocations: 2.892 MB / 0.9964 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003411/0.3268, allocations: 316.8 kB / 0.9967 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001508/0.3283, allocations: 427.8 kB / 0.9971 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01439/0.3427, allocations: 6.78 MB / 1.004 GB, free: 5.266 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001281/0.3429, allocations: 23.86 kB / 1.004 GB, free: 5.242 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005205/0.3434, allocations: 184 kB / 1.004 GB, free: 5.062 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008872/0.3443, allocations: 372 kB / 1.004 GB, free: 4.695 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01035/0.3547, allocations: 5.114 MB / 1.009 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03791/0.3926, allocations: 30.77 MB / 1.039 GB, free: 14.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002086/0.3948, allocations: 1.391 MB / 1.041 GB, free: 12.62 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001683/0.3965, allocations: 1.324 MB / 1.042 GB, free: 11.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.291e-05/0.3966, allocations: 17.31 kB / 1.042 GB, free: 11.28 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.03e-05/0.3966, allocations: 55.86 kB / 1.042 GB, free: 11.22 MB / 0.698 GB Notification: Performance of pre-optimization done (n=130): time 3.457e-06/0.3966, allocations: 0 / 1.042 GB, free: 11.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=199): time 0.5071/0.9037, allocations: 22.79 MB / 1.064 GB, free: 137.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.133e-05/0.9038, allocations: 72.81 kB / 1.064 GB, free: 137.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005279/0.9091, allocations: 2.06 MB / 1.066 GB, free: 136.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003683/0.9095, allocations: 61.55 kB / 1.066 GB, free: 136.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001416/0.9109, allocations: 2.013 MB / 1.068 GB, free: 135.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00072/0.9117, allocations: 0.6748 MB / 1.069 GB, free: 135.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.9119, allocations: 50.44 kB / 1.069 GB, free: 135.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.9121, allocations: 394.1 kB / 1.069 GB, free: 135.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002386/0.9145, allocations: 1.43 MB / 1.071 GB, free: 135.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00294/0.9174, allocations: 2.017 MB / 1.073 GB, free: 134.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005398/0.9228, allocations: 3.696 MB / 1.076 GB, free: 133 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.434e-05/0.9229, allocations: 3.906 kB / 1.076 GB, free: 133 MB / 0.698 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01/0.9329, allocations: 5.663 MB / 1.082 GB, free: 130.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.729e-05/0.933, allocations: 19.03 kB / 1.082 GB, free: 130.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.483e-05/0.933, allocations: 16.39 kB / 1.082 GB, free: 130.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006483/0.9395, allocations: 2.07 MB / 1.084 GB, free: 130 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00184/0.9414, allocations: 387.8 kB / 1.084 GB, free: 129.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0313/0.9727, allocations: 35.53 MB / 1.119 GB, free: 96.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002748/0.9755, allocations: 127.9 kB / 1.119 GB, free: 96.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003067/0.9758, allocations: 91.98 kB / 1.119 GB, free: 96.77 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00263/0.9785, allocations: 1.5 MB / 1.121 GB, free: 95.26 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006691/0.9791, allocations: 284.6 kB / 1.121 GB, free: 94.98 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008688/0.9878, allocations: 5.22 MB / 1.126 GB, free: 89.69 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.9879, allocations: 20 kB / 1.126 GB, free: 89.67 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.351e-05/0.9879, allocations: 24 kB / 1.126 GB, free: 89.65 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.908e-05/0.9879, allocations: 11.97 kB / 1.126 GB, free: 89.64 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01531/1.003, allocations: 9.678 MB / 1.136 GB, free: 79.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/1.003, allocations: 8 kB / 1.136 GB, free: 79.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007922/1.004, allocations: 215.6 kB / 1.136 GB, free: 79.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005238/1.009, allocations: 1.841 MB / 1.138 GB, free: 77.68 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001902/1.01, allocations: 40 kB / 1.138 GB, free: 77.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02632/1.036, allocations: 34.56 MB / 1.171 GB, free: 40.73 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/1.036, allocations: 8 kB / 1.171 GB, free: 40.72 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008295/1.044, allocations: 4.915 MB / 1.176 GB, free: 35.65 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001582/1.046, allocations: 0.6186 MB / 1.177 GB, free: 35.01 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004607/1.046, allocations: 43.98 kB / 1.177 GB, free: 34.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001647/1.048, allocations: 130.6 kB / 1.177 GB, free: 34.84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009213/1.049, allocations: 193.5 kB / 1.177 GB, free: 34.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/1.049, allocations: 52 kB / 1.177 GB, free: 34.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002012/1.051, allocations: 1.382 MB / 1.179 GB, free: 33.21 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.21e-07/1.051, allocations: 4 kB / 1.179 GB, free: 33.21 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003787/1.055, allocations: 1.031 MB / 1.18 GB, free: 32.18 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007708/1.063, allocations: 5.532 MB / 1.185 GB, free: 26.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.008343/1.071, allocations: 6.272 MB / 1.191 GB, free: 19.99 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/1.071, allocations: 4.188 kB / 1.191 GB, free: 19.98 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005298/1.076, allocations: 4.404 MB / 1.195 GB, free: 15.36 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005765/1.082, allocations: 0.9134 MB / 1.196 GB, free: 14.47 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05916/1.141, allocations: 35.96 MB / 1.231 GB, free: 8.035 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004393/1.146, allocations: 3.131 MB / 1.235 GB, free: 4.871 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002337/1.148, allocations: 0.512 MB / 1.235 GB, free: 4.355 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002345/1.151, allocations: 1.679 MB / 1.237 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of SimCode: time 1.974e-06/1.151, allocations: 0 / 1.237 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1362/1.287, allocations: 85.66 MB / 1.32 GB, free: 13.9 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/1.287, allocations: 259 kB / 1.321 GB, free: 13.64 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.66/5.947, allocations: 0 / 1.321 GB, free: 13.64 MB / 0.823 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)