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_R_N.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_R_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",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.285/1.285, allocations: 251.5 MB / 266.7 MB, free: 11 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.0009604/0.0009604, allocations: 166.5 kB / 325.8 MB, free: 2.656 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.409/1.409, allocations: 205 MB / 0.576 GB, free: 20.93 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.0006722/0.0006723, allocations: 91.39 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000432/0.0004321, allocations: 8.938 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1762, allocations: 105.4 MB / 0.8962 GB, free: 68.03 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.02628/0.2025, allocations: 37.14 MB / 0.9325 GB, free: 30.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0138/0.2164, allocations: 11.04 MB / 0.9433 GB, free: 19.69 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00354/0.22, allocations: 143.2 kB / 0.9434 GB, free: 19.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.008293/0.2283, allocations: 4.045 MB / 0.9474 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005251/0.2336, allocations: 2.088 MB / 0.9494 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004634/0.2382, allocations: 1.955 MB / 0.9513 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01146/0.2497, allocations: 13.18 MB / 0.9642 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01746/0.2672, allocations: 12.38 MB / 0.9763 GB, free: 1.746 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004908/0.2721, allocations: 2.91 MB / 0.9791 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006224/0.2784, allocations: 3.881 MB / 0.9829 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001603/0.28, allocations: 344 kB / 0.9832 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003695/0.2837, allocations: 1.326 MB / 0.9845 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.003772/0.2875, allocations: 2.529 MB / 0.987 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.005412/0.2929, allocations: 2.935 MB / 0.9899 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01176/0.3047, allocations: 11.68 MB / 1.001 GB, free: 8.062 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.3048, allocations: 8 kB / 1.001 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3048, allocations: 0 / 1.001 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003867/0.3052, allocations: 0 / 1.001 GB, free: 8.055 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01124/0.3164, allocations: 5.094 MB / 1.006 GB, free: 2.895 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.3165, allocations: 8.031 kB / 1.006 GB, free: 2.887 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002305/0.3188, allocations: 0.8333 MB / 1.007 GB, free: 2.043 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00555/0.3244, allocations: 1.067 MB / 1.008 GB, free: 0.9688 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005989/0.3304, allocations: 3.423 MB / 1.011 GB, free: 13.49 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002732/0.3306, allocations: 419.8 kB / 1.012 GB, free: 13.08 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009033/0.3316, allocations: 0.5432 MB / 1.012 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01459/0.3462, allocations: 9.381 MB / 1.022 GB, free: 2.824 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001102/0.3463, allocations: 19.81 kB / 1.022 GB, free: 2.805 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004918/0.3468, allocations: 244 kB / 1.022 GB, free: 2.566 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004987/0.3473, allocations: 422.9 kB / 1.022 GB, free: 2.152 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01106/0.3584, allocations: 7.123 MB / 1.029 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3793/0.7377, allocations: 41.37 MB / 1.07 GB, free: 122.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00465/0.7424, allocations: 3.103 MB / 1.073 GB, free: 122.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002583/0.745, allocations: 2.119 MB / 1.075 GB, free: 122.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.7452, allocations: 24.91 kB / 1.075 GB, free: 122.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.7452, allocations: 69.5 kB / 1.075 GB, free: 122.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=209): time 3.757e-06/0.7452, allocations: 0 / 1.075 GB, free: 122.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=212): time 0.02649/0.7717, allocations: 10.62 MB / 1.085 GB, free: 119.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.7718, allocations: 73.12 kB / 1.085 GB, free: 119.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/0.7736, allocations: 2.005 MB / 1.087 GB, free: 119 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.7737, allocations: 63.02 kB / 1.087 GB, free: 119 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008107/0.7745, allocations: 2.406 MB / 1.09 GB, free: 116.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003498/0.7749, allocations: 0.7305 MB / 1.09 GB, free: 116.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/0.7751, allocations: 213.8 kB / 1.09 GB, free: 116.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.187e-05/0.7752, allocations: 301.1 kB / 1.091 GB, free: 115.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/0.7767, allocations: 1.371 MB / 1.092 GB, free: 115.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002149/0.7788, allocations: 2.104 MB / 1.094 GB, free: 113.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003658/0.7825, allocations: 3.766 MB / 1.098 GB, free: 111 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/0.7825, allocations: 5.656 kB / 1.098 GB, free: 111 MB / 0.698 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007567/0.7901, allocations: 5.079 MB / 1.103 GB, free: 108.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.512e-05/0.7902, allocations: 15.56 kB / 1.103 GB, free: 108.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.803e-05/0.7902, allocations: 27.22 kB / 1.103 GB, free: 108.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005282/0.7955, allocations: 1.582 MB / 1.104 GB, free: 107.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002575/0.7981, allocations: 452.7 kB / 1.105 GB, free: 107.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01535/0.8135, allocations: 17.1 MB / 1.121 GB, free: 92.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/0.8155, allocations: 147.9 kB / 1.122 GB, free: 92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00015/0.8157, allocations: 115.9 kB / 1.122 GB, free: 91.88 MB / 0.698 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002324/0.818, allocations: 1.938 MB / 1.124 GB, free: 89.93 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003729/0.8184, allocations: 284.7 kB / 1.124 GB, free: 89.65 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006236/0.8246, allocations: 4.455 MB / 1.128 GB, free: 85.17 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.8247, allocations: 23.94 kB / 1.128 GB, free: 85.14 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.137e-05/0.8247, allocations: 16 kB / 1.128 GB, free: 85.13 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.091e-05/0.8247, allocations: 15.89 kB / 1.128 GB, free: 85.11 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01494/0.8397, allocations: 9.666 MB / 1.138 GB, free: 75.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.8397, allocations: 8.125 kB / 1.138 GB, free: 75.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008143/0.8405, allocations: 231.6 kB / 1.138 GB, free: 75.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002597/0.8431, allocations: 1.433 MB / 1.139 GB, free: 73.67 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.8432, allocations: 40 kB / 1.139 GB, free: 73.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01442/0.8577, allocations: 17.1 MB / 1.156 GB, free: 56 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.8577, allocations: 8 kB / 1.156 GB, free: 56 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005399/0.8631, allocations: 4.544 MB / 1.161 GB, free: 51.37 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/0.8641, allocations: 0.6381 MB / 1.161 GB, free: 50.71 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002853/0.8644, allocations: 40 kB / 1.161 GB, free: 50.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.8655, allocations: 119.8 kB / 1.161 GB, free: 50.55 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003723/0.8659, allocations: 181.6 kB / 1.162 GB, free: 50.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.866, allocations: 56 kB / 1.162 GB, free: 50.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00129/0.8673, allocations: 1.315 MB / 1.163 GB, free: 48.99 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8673, allocations: 0 / 1.163 GB, free: 48.99 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002352/0.8697, allocations: 1.137 MB / 1.164 GB, free: 47.86 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00516/0.8748, allocations: 5.156 MB / 1.169 GB, free: 42.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005385/0.8802, allocations: 4.71 MB / 1.174 GB, free: 37.84 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.8803, allocations: 7.859 kB / 1.174 GB, free: 37.83 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003445/0.8837, allocations: 2.924 MB / 1.176 GB, free: 34.86 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004576/0.8883, allocations: 0.8344 MB / 1.177 GB, free: 34.04 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04435/0.9327, allocations: 35.9 MB / 1.212 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003827/0.9365, allocations: 3.69 MB / 1.216 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001959/0.9385, allocations: 0.5556 MB / 1.216 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001953/0.9405, allocations: 1.944 MB / 1.218 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/0.9405, allocations: 0 / 1.218 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2798/1.22, allocations: 82.4 MB / 1.299 GB, free: 3.77 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/1.221, allocations: 264.3 kB / 1.299 GB, free: 3.484 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.103/5.323, allocations: 4 kB / 1.299 GB, free: 3.48 MB / 0.7917 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)