Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.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.ACSimpleGrid_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",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.734/2.734, allocations: 287.5 MB / 302.4 MB, free: 8.246 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.001947/0.001947, allocations: 179.2 kB / 371 MB, free: 10.88 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.258/2.258, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.001365/0.001365, allocations: 86.05 kB / 0.743 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004974/0.0004977, allocations: 13.22 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2213, allocations: 115.3 MB / 0.9785 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.02362/0.245, allocations: 10.77 MB / 0.989 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01522/0.2602, allocations: 5.232 MB / 0.9941 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001562/0.2618, allocations: 27.88 kB / 0.9941 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001714/0.2636, allocations: 306 kB / 0.9944 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002827/0.2665, allocations: 0.5208 MB / 0.9949 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003002/0.2695, allocations: 495.9 kB / 0.9954 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005687/0.2752, allocations: 2.918 MB / 0.9982 GB, free: 7.957 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01137/0.2867, allocations: 3.856 MB / 1.002 GB, free: 4.055 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001841/0.2886, allocations: 0.7707 MB / 1.003 GB, free: 3.281 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00284/0.2914, allocations: 1.09 MB / 1.004 GB, free: 2.188 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0006721/0.2922, allocations: 100 kB / 1.004 GB, free: 2.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001993/0.2942, allocations: 319.6 kB / 1.004 GB, free: 1.777 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001166/0.2954, allocations: 0.7482 MB / 1.005 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0006798/0.2961, allocations: 360.9 kB / 1.005 GB, free: 0.668 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.005409/0.3015, allocations: 3.253 MB / 1.008 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.3016, allocations: 0 / 1.008 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.826e-06/0.3016, allocations: 0 / 1.008 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001132/0.3017, allocations: 0 / 1.008 GB, free: 13.41 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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.006506/0.3082, allocations: 1.777 MB / 1.01 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/0.3083, allocations: 8.031 kB / 1.01 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001002/0.3093, allocations: 268.6 kB / 1.01 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005346/0.3147, allocations: 0.7509 MB / 1.011 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004016/0.3188, allocations: 1.227 MB / 1.012 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001964/0.319, allocations: 119.2 kB / 1.013 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006928/0.3197, allocations: 163.9 kB / 1.013 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008713/0.3284, allocations: 2.944 MB / 1.016 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.429e-05/0.3286, allocations: 4 kB / 1.016 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000348/0.3289, allocations: 64 kB / 1.016 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007627/0.3297, allocations: 207 kB / 1.016 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007806/0.3375, allocations: 2.499 MB / 1.018 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02311/0.3607, allocations: 10.9 MB / 1.029 GB, free: 7.418 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00341/0.3642, allocations: 0.9159 MB / 1.03 GB, free: 6.457 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001513/0.3657, allocations: 0.5012 MB / 1.03 GB, free: 5.953 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002343/0.366, allocations: 89.47 kB / 1.03 GB, free: 5.848 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.371e-05/0.3661, allocations: 46.94 kB / 1.03 GB, free: 5.793 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=46): time 3.507e-06/0.3661, allocations: 0 / 1.03 GB, free: 5.793 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70): time 0.05377/0.4199, allocations: 8.967 MB / 1.039 GB, free: 12.75 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.139e-05/0.42, allocations: 81.67 kB / 1.039 GB, free: 12.65 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002173/0.4222, allocations: 0.9454 MB / 1.04 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002255/0.4225, allocations: 41.7 kB / 1.04 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008755/0.4234, allocations: 0.7658 MB / 1.041 GB, free: 10.87 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004409/0.4238, allocations: 252.6 kB / 1.041 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.424, allocations: 24 kB / 1.041 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0003005/0.4243, allocations: 394.8 kB / 1.042 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002343/0.4267, allocations: 0.7988 MB / 1.042 GB, free: 9.398 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002626/0.4293, allocations: 1.16 MB / 1.044 GB, free: 8.082 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002626/0.432, allocations: 0.9908 MB / 1.044 GB, free: 7.09 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.432, allocations: 4 kB / 1.044 GB, free: 7.086 MB / 0.6667 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01863/0.4506, allocations: 3.787 MB / 1.048 GB, free: 3.281 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004219/0.4511, allocations: 421 kB / 1.049 GB, free: 2.719 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.257e-05/0.4512, allocations: 8 kB / 1.049 GB, free: 2.711 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01616/0.4673, allocations: 2.169 MB / 1.051 GB, free: 0.5352 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/0.4691, allocations: 219.6 kB / 1.051 GB, free: 328 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.029/0.4981, allocations: 10.26 MB / 1.061 GB, free: 5.809 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002363/0.5005, allocations: 195.7 kB / 1.061 GB, free: 5.617 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001888/0.5008, allocations: 48 kB / 1.061 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.5008, allocations: 4 kB / 1.061 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01477/0.5156, allocations: 3.076 MB / 1.064 GB, free: 2.484 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-05/0.5157, allocations: 15.98 kB / 1.064 GB, free: 2.469 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01193/0.5276, allocations: 1.363 MB / 1.066 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002188/0.5299, allocations: 283.5 kB / 1.066 GB, free: 0.8242 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6859/1.216, allocations: 6.147 MB / 1.072 GB, free: 80.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002173/1.218, allocations: 171.2 kB / 1.072 GB, free: 80.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002032/1.218, allocations: 46.12 kB / 1.072 GB, free: 80.87 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.002115/1.22, allocations: 0.903 MB / 1.073 GB, free: 80.44 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003455/1.221, allocations: 88.31 kB / 1.073 GB, free: 80.44 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01697/1.238, allocations: 3.32 MB / 1.076 GB, free: 79.59 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-05/1.238, allocations: 7.25 kB / 1.076 GB, free: 79.59 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/1.238, allocations: 3.062 kB / 1.076 GB, free: 79.59 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-05/1.238, allocations: 4.328 kB / 1.076 GB, free: 79.59 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02311/1.261, allocations: 5.492 MB / 1.082 GB, free: 77.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.009e-05/1.261, allocations: 1.531 kB / 1.082 GB, free: 77.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009067/1.262, allocations: 109.9 kB / 1.082 GB, free: 77.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01475/1.277, allocations: 1.974 MB / 1.084 GB, free: 77.45 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002152/1.277, allocations: 16.12 kB / 1.084 GB, free: 77.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02343/1.3, allocations: 9.648 MB / 1.093 GB, free: 72.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/1.301, allocations: 6.25 kB / 1.093 GB, free: 72.24 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01489/1.315, allocations: 3.195 MB / 1.096 GB, free: 71.33 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009359/1.316, allocations: 336.5 kB / 1.097 GB, free: 71.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002335/1.317, allocations: 11.97 kB / 1.097 GB, free: 71.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001636/1.318, allocations: 153.3 kB / 1.097 GB, free: 71.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003825/1.319, allocations: 71.64 kB / 1.097 GB, free: 71.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.897e-05/1.319, allocations: 23.09 kB / 1.097 GB, free: 71.07 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001302/1.32, allocations: 0.669 MB / 1.097 GB, free: 70.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/1.32, allocations: 3.094 kB / 1.097 GB, free: 70.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003458/1.324, allocations: 0.6783 MB / 1.098 GB, free: 70.75 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.01577/1.339, allocations: 3.796 MB / 1.102 GB, free: 69.15 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01304/1.353, allocations: 3.91 MB / 1.106 GB, free: 66.95 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/1.353, allocations: 4.906 kB / 1.106 GB, free: 66.95 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003739/1.356, allocations: 1.31 MB / 1.107 GB, free: 66.13 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002099/1.358, allocations: 250.9 kB / 1.107 GB, free: 66.03 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03737/1.396, allocations: 11.43 MB / 1.118 GB, free: 59.15 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002155/1.398, allocations: 1.716 MB / 1.12 GB, free: 57.94 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002278/1.4, allocations: 0.519 MB / 1.12 GB, free: 57.73 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/1.402, allocations: 0.4967 MB / 1.121 GB, free: 57.28 MB / 0.6823 GB Notification: Performance of SimCode: time 1.212e-06/1.402, allocations: 0 / 1.121 GB, free: 57.28 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1164/1.518, allocations: 41.58 MB / 1.162 GB, free: 17.95 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002827/1.518, allocations: 254.7 kB / 1.162 GB, free: 17.61 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.613/5.131, allocations: 4.062 kB / 1.162 GB, free: 17.61 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)