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_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_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.382/1.382, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001149/0.001149, allocations: 179.9 kB / 326.5 MB, free: 2.211 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.651/1.651, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0009603/0.0009603, allocations: 93.86 kB / 0.6821 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003713, allocations: 8.969 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2585, allocations: 106.3 MB / 0.9002 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02349/0.282, allocations: 28.79 MB / 0.9283 GB, free: 34.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01868/0.3007, allocations: 13.81 MB / 0.9418 GB, free: 21.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003912/0.3047, allocations: 127.2 kB / 0.9419 GB, free: 20.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003028/0.3078, allocations: 0.7064 MB / 0.9426 GB, free: 20.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.008833/0.3166, allocations: 2.262 MB / 0.9448 GB, free: 17.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005396/0.3221, allocations: 1.409 MB / 0.9462 GB, free: 16.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.009019/0.3311, allocations: 4.553 MB / 0.9506 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01584/0.347, allocations: 9.835 MB / 0.9602 GB, free: 2.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005634/0.3527, allocations: 2.605 MB / 0.9627 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006543/0.3593, allocations: 2.417 MB / 0.9651 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.002263/0.3616, allocations: 296 kB / 0.9654 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005981/0.3676, allocations: 0.6945 MB / 0.9661 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.005043/0.3727, allocations: 2.093 MB / 0.9681 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.003458/0.3762, allocations: 1.128 MB / 0.9692 GB, free: 8.812 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.01401/0.3903, allocations: 9.039 MB / 0.978 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3903, allocations: 0 / 0.978 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.344e-06/0.3903, allocations: 0 / 0.978 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004387/0.3908, allocations: 0 / 0.978 GB, free: 15.75 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.0148/0.4056, allocations: 4.857 MB / 0.9828 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.4056, allocations: 8.031 kB / 0.9828 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003232/0.4089, allocations: 0.723 MB / 0.9835 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007834/0.4167, allocations: 1.121 MB / 0.9846 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01043/0.4272, allocations: 3.232 MB / 0.9877 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004578/0.4277, allocations: 378 kB / 0.9881 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002433/0.4301, allocations: 495.9 kB / 0.9886 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02082/0.451, allocations: 7.923 MB / 0.9963 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002097/0.4513, allocations: 23.78 kB / 0.9963 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008125/0.4521, allocations: 216 kB / 0.9965 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001215/0.4533, allocations: 437.6 kB / 0.997 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01453/0.4679, allocations: 6.053 MB / 1.003 GB, free: 5.848 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04888/0.5168, allocations: 35.2 MB / 1.037 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002936/0.5198, allocations: 2.012 MB / 1.039 GB, free: 13.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/0.5199, allocations: 22 kB / 1.039 GB, free: 13.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.622e-05/0.52, allocations: 64.52 kB / 1.039 GB, free: 13.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=171): time 5.681e-06/0.52, allocations: 0 / 1.039 GB, free: 13.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=276): time 0.6773/1.197, allocations: 38.97 MB / 1.077 GB, free: 133.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.441e-05/1.197, allocations: 83.8 kB / 1.077 GB, free: 133.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004079/1.202, allocations: 2.256 MB / 1.08 GB, free: 132.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004636/1.202, allocations: 74.2 kB / 1.08 GB, free: 132.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001408/1.203, allocations: 2.285 MB / 1.082 GB, free: 131.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009537/1.204, allocations: 0.93 MB / 1.083 GB, free: 130.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/1.205, allocations: 57.95 kB / 1.083 GB, free: 130.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001503/1.205, allocations: 430.5 kB / 1.083 GB, free: 130.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00254/1.207, allocations: 1.963 MB / 1.085 GB, free: 129.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002688/1.21, allocations: 2.579 MB / 1.088 GB, free: 127.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002793/1.213, allocations: 2.368 MB / 1.09 GB, free: 126.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/1.213, allocations: 3.719 kB / 1.09 GB, free: 126.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01311/1.226, allocations: 7.723 MB / 1.098 GB, free: 119.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.93e-05/1.226, allocations: 18.81 kB / 1.098 GB, free: 119.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.947e-05/1.226, allocations: 16 kB / 1.098 GB, free: 119.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00859/1.235, allocations: 3.209 MB / 1.101 GB, free: 116.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001711/1.237, allocations: 408.5 kB / 1.101 GB, free: 115.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0362/1.273, allocations: 32.34 MB / 1.133 GB, free: 82.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004297/1.277, allocations: 163.8 kB / 1.133 GB, free: 82.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005057/1.278, allocations: 112 kB / 1.133 GB, free: 82.29 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 (202): * Single equations (assignments): 196 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(10,71.0%) 28,(10,65.0%) 28,(6,77.8%) 24,(6,77.8%) 24,(5,92.0%) 17,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004012/1.282, allocations: 1.797 MB / 1.135 GB, free: 80.48 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001079/1.283, allocations: 328.2 kB / 1.135 GB, free: 80.16 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0122/1.295, allocations: 7.33 MB / 1.142 GB, free: 72.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-05/1.295, allocations: 33.22 kB / 1.142 GB, free: 72.72 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.769e-05/1.295, allocations: 32 kB / 1.142 GB, free: 72.69 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.619e-05/1.295, allocations: 11.95 kB / 1.142 GB, free: 72.68 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02142/1.317, allocations: 12.89 MB / 1.155 GB, free: 59.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.27e-05/1.317, allocations: 12.03 kB / 1.155 GB, free: 59.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/1.318, allocations: 229.1 kB / 1.155 GB, free: 59.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007766/1.326, allocations: 2.863 MB / 1.158 GB, free: 56.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003999/1.326, allocations: 48 kB / 1.158 GB, free: 56.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03501/1.361, allocations: 31.18 MB / 1.188 GB, free: 24.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.876e-06/1.361, allocations: 15.92 kB / 1.188 GB, free: 24.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/1.373, allocations: 7.42 MB / 1.196 GB, free: 16.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002867/1.376, allocations: 0.7783 MB / 1.196 GB, free: 15.86 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007595/1.377, allocations: 63.94 kB / 1.197 GB, free: 15.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001891/1.378, allocations: 163.8 kB / 1.197 GB, free: 15.63 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008876/1.379, allocations: 249.5 kB / 1.197 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/1.38, allocations: 76 kB / 1.197 GB, free: 15.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002028/1.382, allocations: 1.502 MB / 1.198 GB, free: 13.81 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.01e-07/1.382, allocations: 0 / 1.198 GB, free: 13.81 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004391/1.386, allocations: 1.355 MB / 1.2 GB, free: 12.46 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 (105): * Single equations (assignments): 99 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,84.0%) 17,(6,77.8%) 24,(10,65.0%) 28,(5,92.0%) 17,(6,77.8%) 24,(10,65.0%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01104/1.397, allocations: 9.652 MB / 1.209 GB, free: 2.473 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01195/1.409, allocations: 6.916 MB / 1.216 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.524e-05/1.409, allocations: 3.953 kB / 1.216 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.009036/1.418, allocations: 4.411 MB / 1.22 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00503/1.423, allocations: 0.9955 MB / 1.221 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07012/1.493, allocations: 43.8 MB / 1.264 GB, free: 8.59 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004845/1.498, allocations: 3.737 MB / 1.268 GB, free: 4.82 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.003024/1.501, allocations: 0.5634 MB / 1.268 GB, free: 4.254 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002634/1.504, allocations: 1.968 MB / 1.27 GB, free: 2.285 MB / 0.7605 GB Notification: Performance of SimCode: time 2.896e-06/1.504, allocations: 0 / 1.27 GB, free: 2.285 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2008/1.705, allocations: 107.3 MB / 1.375 GB, free: 7.926 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/1.705, allocations: 236.6 kB / 1.375 GB, free: 7.684 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5/6.705, allocations: 0 / 1.375 GB, free: 7.684 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)