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.ACSimpleGrid.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.ACSimpleGrid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.303/1.303, allocations: 251.5 MB / 266.7 MB, free: 11.07 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.0009403/0.0009404, allocations: 173 kB / 325.8 MB, free: 2.711 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.388/1.388, allocations: 205 MB / 0.576 GB, free: 21.05 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.0006434/0.0006434, allocations: 90.48 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002949/0.0002949, allocations: 13.89 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1533, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.00921/0.1626, allocations: 11.45 MB / 0.9074 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005427/0.168, allocations: 5.338 MB / 0.9126 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004363/0.1685, allocations: 31.88 kB / 0.9126 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001815/0.1703, allocations: 0.9751 MB / 0.9136 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008396/0.1712, allocations: 0.5834 MB / 0.9142 GB, free: 49.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.1725, allocations: 0.8342 MB / 0.915 GB, free: 48.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001854/0.1744, allocations: 3.589 MB / 0.9185 GB, free: 45.21 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003349/0.1778, allocations: 3.791 MB / 0.9222 GB, free: 41.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007741/0.1785, allocations: 0.7394 MB / 0.9229 GB, free: 40.63 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008833/0.1794, allocations: 1.028 MB / 0.9239 GB, free: 39.6 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.1796, allocations: 96 kB / 0.924 GB, free: 39.51 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007487/0.1803, allocations: 499.2 kB / 0.9245 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004106/0.1808, allocations: 0.7209 MB / 0.9252 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004801/0.1812, allocations: 0.7852 MB / 0.9259 GB, free: 37.51 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00173/0.183, allocations: 3.427 MB / 0.9293 GB, free: 34.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.183, allocations: 0 / 0.9293 GB, free: 34.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.332e-06/0.183, allocations: 0 / 0.9293 GB, free: 34.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.31e-05/0.183, allocations: 0 / 0.9293 GB, free: 34.07 MB / 0.6042 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.002162/0.1852, allocations: 1.621 MB / 0.9309 GB, free: 32.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.1853, allocations: 12.03 kB / 0.9309 GB, free: 32.38 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000264/0.1855, allocations: 256.4 kB / 0.9311 GB, free: 32.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001973/0.1875, allocations: 482.4 kB / 0.9316 GB, free: 31.65 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.189, allocations: 1.144 MB / 0.9327 GB, free: 30.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.073e-05/0.1891, allocations: 115.5 kB / 0.9328 GB, free: 30.35 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/0.1892, allocations: 155.9 kB / 0.933 GB, free: 30.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003194/0.1924, allocations: 2.751 MB / 0.9357 GB, free: 27.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.37e-05/0.1925, allocations: 3.938 kB / 0.9357 GB, free: 27.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001538/0.1927, allocations: 64 kB / 0.9357 GB, free: 27.31 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002769/0.193, allocations: 170.9 kB / 0.9359 GB, free: 27.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002675/0.1956, allocations: 2.299 MB / 0.9381 GB, free: 24.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007762/0.2034, allocations: 10.53 MB / 0.9484 GB, free: 13.42 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007243/0.2042, allocations: 0.588 MB / 0.949 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004616/0.2046, allocations: 384.6 kB / 0.9494 GB, free: 12.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.69e-05/0.2047, allocations: 85.11 kB / 0.9494 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.2048, allocations: 46.48 kB / 0.9495 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 1.894e-06/0.2048, allocations: 0 / 0.9495 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=52): time 0.01724/0.222, allocations: 6.282 MB / 0.9556 GB, free: 5.941 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.2221, allocations: 81.55 kB / 0.9557 GB, free: 5.844 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008736/0.223, allocations: 0.8945 MB / 0.9566 GB, free: 4.938 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.339e-05/0.223, allocations: 33.7 kB / 0.9566 GB, free: 4.898 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000268/0.2233, allocations: 0.7577 MB / 0.9573 GB, free: 4.129 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.2234, allocations: 185.4 kB / 0.9575 GB, free: 3.945 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.91e-05/0.2235, allocations: 77.67 kB / 0.9576 GB, free: 3.863 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.983e-05/0.2236, allocations: 394.7 kB / 0.958 GB, free: 3.469 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007496/0.2244, allocations: 0.646 MB / 0.9586 GB, free: 2.824 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008729/0.2252, allocations: 1.007 MB / 0.9596 GB, free: 1.641 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/0.2269, allocations: 1.674 MB / 0.9612 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.2269, allocations: 4 kB / 0.9612 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008552/0.2355, allocations: 3.221 MB / 0.9644 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002359/0.2357, allocations: 431.4 kB / 0.9648 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.2357, allocations: 8 kB / 0.9648 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007391/0.2431, allocations: 1.86 MB / 0.9666 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007845/0.2439, allocations: 223.6 kB / 0.9668 GB, free: 9.879 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01257/0.2565, allocations: 10.22 MB / 0.9768 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.2577, allocations: 187.6 kB / 0.977 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-05/0.2578, allocations: 44 kB / 0.977 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.953e-06/0.2578, allocations: 4 kB / 0.977 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006635/0.2645, allocations: 2.618 MB / 0.9796 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/0.2645, allocations: 12 kB / 0.9796 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004906/0.2694, allocations: 1.207 MB / 0.9808 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007979/0.2702, allocations: 247.6 kB / 0.981 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006674/0.2769, allocations: 5.543 MB / 0.9864 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.2779, allocations: 159.8 kB / 0.9866 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.725e-05/0.278, allocations: 36 kB / 0.9866 GB, free: 4.789 MB / 0.6355 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 (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): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001106/0.2791, allocations: 0.845 MB / 0.9874 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.2793, allocations: 79.09 kB / 0.9875 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007526/0.2869, allocations: 2.688 MB / 0.9901 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.2869, allocations: 11.94 kB / 0.9901 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2869, allocations: 7.938 kB / 0.9901 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.2869, allocations: 0 / 0.9901 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009781/0.2967, allocations: 4.632 MB / 0.9947 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-06/0.2967, allocations: 0 / 0.9947 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003621/0.2971, allocations: 104.1 kB / 0.9948 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00667/0.3038, allocations: 1.712 MB / 0.9964 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.081e-05/0.3038, allocations: 12 kB / 0.9964 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01072/0.3146, allocations: 9.777 MB / 1.006 GB, free: 220 kB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3146, allocations: 0 / 1.006 GB, free: 220 kB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007279/0.3219, allocations: 2.652 MB / 1.009 GB, free: 13.51 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005155/0.3224, allocations: 272.1 kB / 1.009 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001974/0.3226, allocations: 16 kB / 1.009 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008644/0.3235, allocations: 135.7 kB / 1.009 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002431/0.3237, allocations: 47.88 kB / 1.009 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.826e-05/0.3238, allocations: 12 kB / 1.009 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009046/0.3247, allocations: 0.6434 MB / 1.01 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3247, allocations: 0 / 1.01 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002078/0.3268, allocations: 0.5859 MB / 1.01 GB, free: 11.79 MB / 0.6667 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 (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): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007901/0.3347, allocations: 3.24 MB / 1.013 GB, free: 8.48 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004665/0.3394, allocations: 3.25 MB / 1.017 GB, free: 5.156 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.3394, allocations: 4.688 kB / 1.017 GB, free: 5.152 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001743/0.3412, allocations: 1.276 MB / 1.018 GB, free: 3.824 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.3424, allocations: 226.2 kB / 1.018 GB, free: 3.609 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02755/0.3699, allocations: 15.1 MB / 1.033 GB, free: 4.027 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001601/0.3716, allocations: 1.618 MB / 1.034 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001307/0.3729, allocations: 0.4905 MB / 1.035 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006292/0.3735, allocations: 491.3 kB / 1.035 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of SimCode: time 8.91e-07/0.3735, allocations: 0 / 1.035 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.374/1.748, allocations: 34.23 MB / 1.069 GB, free: 143.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/1.748, allocations: 269.5 kB / 1.069 GB, free: 142.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.836/4.585, allocations: 3.422 kB / 1.069 GB, free: 142.9 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)