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.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,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",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 1.596/1.596, allocations: 287.4 MB / 302.6 MB, free: 8.223 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.0009541/0.0009542, allocations: 187.4 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.4 MB / 0.6298 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.001006/0.001006, allocations: 97.16 kB / 0.7431 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.000384, allocations: 11.28 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2318, allocations: 115.3 MB / 0.9787 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.0097/0.2415, allocations: 10.68 MB / 0.9892 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007286/0.2489, allocations: 5.006 MB / 0.9941 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008861/0.2498, allocations: 35.88 kB / 0.9941 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008406/0.2506, allocations: 290 kB / 0.9944 GB, free: 12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001126/0.2518, allocations: 0.5053 MB / 0.9949 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.253, allocations: 466.8 kB / 0.9953 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001983/0.255, allocations: 2.802 MB / 0.9981 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004497/0.2595, allocations: 4.065 MB / 1.002 GB, free: 4.098 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.2606, allocations: 0.7278 MB / 1.003 GB, free: 3.367 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.2617, allocations: 0.9968 MB / 1.004 GB, free: 2.367 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001486/0.2618, allocations: 100 kB / 1.004 GB, free: 2.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00081/0.2627, allocations: 307.6 kB / 1.004 GB, free: 1.969 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004973/0.2632, allocations: 0.7209 MB / 1.005 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002628/0.2634, allocations: 345 kB / 1.005 GB, free: 0.9023 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002503/0.2659, allocations: 3.02 MB / 1.008 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.266, allocations: 3.938 kB / 1.008 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.743e-06/0.266, allocations: 0 / 1.008 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.351e-05/0.266, allocations: 0 / 1.008 GB, free: 13.87 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.003095/0.2691, allocations: 1.628 MB / 1.01 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.2692, allocations: 8.031 kB / 1.01 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003411/0.2695, allocations: 248.4 kB / 1.01 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002206/0.2717, allocations: 482.5 kB / 1.01 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002041/0.2738, allocations: 1.151 MB / 1.012 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.75e-05/0.2739, allocations: 115.4 kB / 1.012 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002724/0.2742, allocations: 155.9 kB / 1.012 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004477/0.2787, allocations: 2.731 MB / 1.014 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.038e-05/0.2787, allocations: 7.938 kB / 1.014 GB, free: 7.191 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001598/0.2789, allocations: 63.98 kB / 1.014 GB, free: 7.129 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003461/0.2793, allocations: 170.9 kB / 1.015 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003734/0.283, allocations: 2.291 MB / 1.017 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01283/0.2958, allocations: 10.53 MB / 1.027 GB, free: 9.246 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.297, allocations: 0.5763 MB / 1.028 GB, free: 8.66 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006251/0.2976, allocations: 388.5 kB / 1.028 GB, free: 8.277 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/0.2977, allocations: 93.09 kB / 1.028 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.893e-05/0.2978, allocations: 38.5 kB / 1.028 GB, free: 8.121 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 2.585e-06/0.2978, allocations: 0 / 1.028 GB, free: 8.121 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.02006/0.3179, allocations: 6.271 MB / 1.034 GB, free: 1.785 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.42e-05/0.318, allocations: 81.55 kB / 1.034 GB, free: 1.684 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.3193, allocations: 0.9062 MB / 1.035 GB, free: 0.7695 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.281e-05/0.3194, allocations: 29.7 kB / 1.035 GB, free: 0.7344 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005147/0.3199, allocations: 0.7499 MB / 1.036 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.3201, allocations: 189.4 kB / 1.036 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.666e-05/0.3201, allocations: 16 kB / 1.036 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000195/0.3203, allocations: 386.8 kB / 1.037 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.3214, allocations: 0.6421 MB / 1.037 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.3226, allocations: 1.007 MB / 1.038 GB, free: 13.56 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002161/0.3247, allocations: 1.666 MB / 1.04 GB, free: 11.74 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.3248, allocations: 4 kB / 1.04 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008607/0.3334, allocations: 3.209 MB / 1.043 GB, free: 8.5 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003193/0.3337, allocations: 435.4 kB / 1.043 GB, free: 7.914 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.3338, allocations: 12 kB / 1.043 GB, free: 7.902 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007614/0.3414, allocations: 1.856 MB / 1.045 GB, free: 6.031 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008638/0.3423, allocations: 219.6 kB / 1.045 GB, free: 5.816 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01451/0.3568, allocations: 10.22 MB / 1.055 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.3583, allocations: 183.6 kB / 1.056 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001846/0.3585, allocations: 44 kB / 1.056 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/0.3585, allocations: 4 kB / 1.056 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007236/0.3657, allocations: 2.614 MB / 1.058 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.353e-05/0.3658, allocations: 12 kB / 1.058 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005023/0.3708, allocations: 1.203 MB / 1.059 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.3719, allocations: 251.6 kB / 1.06 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007799/0.3797, allocations: 5.547 MB / 1.065 GB, free: 0.9297 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.381, allocations: 151.8 kB / 1.065 GB, free: 0.7812 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001815/0.3812, allocations: 44 kB / 1.065 GB, free: 0.7383 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.4645/0.8457, allocations: 0.8319 MB / 1.066 GB, free: 82.38 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002701/0.846, allocations: 83.3 kB / 1.066 GB, free: 82.38 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008732/0.8548, allocations: 2.686 MB / 1.069 GB, free: 82.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.8548, allocations: 5.688 kB / 1.069 GB, free: 82.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.8548, allocations: 3.719 kB / 1.069 GB, free: 82.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/0.8548, allocations: 7.703 kB / 1.069 GB, free: 82.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01187/0.8667, allocations: 4.624 MB / 1.073 GB, free: 81.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/0.8668, allocations: 2.406 kB / 1.073 GB, free: 81.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004622/0.8672, allocations: 95.23 kB / 1.073 GB, free: 81.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007915/0.8752, allocations: 1.706 MB / 1.075 GB, free: 80.92 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001903/0.8754, allocations: 17.98 kB / 1.075 GB, free: 80.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01348/0.8889, allocations: 9.764 MB / 1.085 GB, free: 74.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.8889, allocations: 6.719 kB / 1.085 GB, free: 74.15 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008106/0.8971, allocations: 2.642 MB / 1.087 GB, free: 73.42 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006127/0.8977, allocations: 283.1 kB / 1.087 GB, free: 73.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.8978, allocations: 17.36 kB / 1.088 GB, free: 73.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000815/0.8987, allocations: 136 kB / 1.088 GB, free: 73.25 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002674/0.8989, allocations: 54.02 kB / 1.088 GB, free: 73.24 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.758e-05/0.899, allocations: 11.52 kB / 1.088 GB, free: 73.24 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009956/0.9, allocations: 0.6362 MB / 1.088 GB, free: 72.98 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.81e-07/0.9, allocations: 0 / 1.088 GB, free: 72.98 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002345/0.9024, allocations: 0.5831 MB / 1.089 GB, free: 72.94 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): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.008265/0.9106, allocations: 3.241 MB / 1.092 GB, free: 71.66 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005162/0.9158, allocations: 3.243 MB / 1.095 GB, free: 70.15 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.9159, allocations: 0 / 1.095 GB, free: 70.15 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001871/0.9178, allocations: 1.286 MB / 1.096 GB, free: 69.45 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.9191, allocations: 210.4 kB / 1.097 GB, free: 69.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01916/0.9383, allocations: 9.825 MB / 1.106 GB, free: 64.75 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001362/0.9397, allocations: 1.622 MB / 1.108 GB, free: 63.58 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001433/0.9412, allocations: 498.9 kB / 1.108 GB, free: 63.38 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005153/0.9417, allocations: 484 kB / 1.109 GB, free: 62.95 MB / 0.6823 GB Notification: Performance of SimCode: time 1.042e-06/0.9417, allocations: 0 / 1.109 GB, free: 62.95 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1599/1.102, allocations: 34.37 MB / 1.142 GB, free: 36.49 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/1.102, allocations: 240.7 kB / 1.143 GB, free: 36.25 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.65/3.752, allocations: 0 / 1.143 GB, free: 36.25 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)