Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_latest_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_latest_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008998/0.0008996, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009497/0.0009496, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 223.2 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.636/2.636, allocations: 409.4 MB / 0.684 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005762/0.0005765, allocations: 11.94 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8261/0.8267, allocations: 146.8 MB / 0.9811 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03426/0.861, allocations: 30.34 MB / 1.011 GB, free: 7.867 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02239/0.8835, allocations: 13.93 MB / 1.024 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003589/0.8871, allocations: 139.1 kB / 1.025 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0029/0.8901, allocations: 0.7092 MB / 1.025 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.009239/0.8993, allocations: 2.401 MB / 1.028 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.005524/0.9049, allocations: 1.386 MB / 1.029 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01506/0.92, allocations: 9.789 MB / 1.038 GB, free: 11.44 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01847/0.9385, allocations: 9.85 MB / 1.048 GB, free: 1.512 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007104/0.9456, allocations: 2.958 MB / 1.051 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007558/0.9532, allocations: 3.395 MB / 1.054 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001718/0.955, allocations: 296 kB / 1.055 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003674/0.9587, allocations: 0.8077 MB / 1.055 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.003664/0.9624, allocations: 2.279 MB / 1.058 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002652/0.9651, allocations: 1.128 MB / 1.059 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01247/0.9775, allocations: 9.159 MB / 1.068 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.9776, allocations: 4 kB / 1.068 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.146e-06/0.9776, allocations: 0 / 1.068 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0004211/0.978, allocations: 0 / 1.068 GB, free: 13.43 MB / 0.8262 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.01367/0.9917, allocations: 4.892 MB / 1.072 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.9918, allocations: 8.031 kB / 1.072 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002192/0.994, allocations: 0.723 MB / 1.073 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007045/1.001, allocations: 1.144 MB / 1.074 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006964/1.008, allocations: 3.243 MB / 1.077 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003393/1.008, allocations: 374 kB / 1.078 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001844/1.01, allocations: 499.9 kB / 1.078 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01705/1.027, allocations: 7.958 MB / 1.086 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001865/1.028, allocations: 27.83 kB / 1.086 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009085/1.028, allocations: 212 kB / 1.086 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001002/1.03, allocations: 437.5 kB / 1.087 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01253/1.042, allocations: 6.049 MB / 1.093 GB, free: 3.426 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03945/1.082, allocations: 35.22 MB / 1.127 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00288/1.084, allocations: 2.022 MB / 1.129 GB, free: 11 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002596/1.087, allocations: 1.85 MB / 1.131 GB, free: 9.148 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001554/1.087, allocations: 18 kB / 1.131 GB, free: 9.129 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.517e-05/1.087, allocations: 52.56 kB / 1.131 GB, free: 9.07 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=171): time 3.727e-06/1.087, allocations: 0 / 1.131 GB, free: 9.07 MB / 0.8887 GB Notification: Performance of matching and sorting (n=276): time 0.1344/1.222, allocations: 38.99 MB / 1.169 GB, free: 1.984 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.48e-05/1.222, allocations: 81.58 kB / 1.169 GB, free: 1.891 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004469/1.226, allocations: 2.254 MB / 1.171 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0005348/1.227, allocations: 77.64 kB / 1.171 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001884/1.229, allocations: 2.272 MB / 1.173 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.001159/1.23, allocations: 0.9356 MB / 1.174 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003547/1.23, allocations: 60 kB / 1.174 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0003109/1.231, allocations: 432.1 kB / 1.175 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003299/1.234, allocations: 1.954 MB / 1.177 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003924/1.238, allocations: 2.591 MB / 1.179 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003923/1.242, allocations: 2.372 MB / 1.182 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.461e-05/1.242, allocations: 4 kB / 1.182 GB, free: 4.617 MB / 0.9356 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.0155/1.257, allocations: 7.72 MB / 1.189 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.705e-05/1.257, allocations: 12 kB / 1.189 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.966e-05/1.257, allocations: 20.16 kB / 1.189 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009232/1.267, allocations: 3.206 MB / 1.192 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001827/1.269, allocations: 403.2 kB / 1.193 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04692/1.316, allocations: 31.1 MB / 1.223 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003202/1.319, allocations: 163.8 kB / 1.223 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005909/1.319, allocations: 108 kB / 1.223 GB, free: 8.988 MB / 0.9825 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.004293/1.324, allocations: 1.791 MB / 1.225 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001051/1.325, allocations: 332.2 kB / 1.225 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01521/1.34, allocations: 7.33 MB / 1.233 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.606e-05/1.34, allocations: 24 kB / 1.233 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.782e-05/1.34, allocations: 32.38 kB / 1.233 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.721e-05/1.34, allocations: 15.94 kB / 1.233 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02712/1.367, allocations: 12.91 MB / 1.245 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.029e-05/1.367, allocations: 8 kB / 1.245 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009475/1.368, allocations: 240.4 kB / 1.245 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.7089/2.077, allocations: 2.835 MB / 1.248 GB, free: 241.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006268/2.078, allocations: 52.28 kB / 1.248 GB, free: 241.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04473/2.123, allocations: 29.92 MB / 1.277 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.976e-06/2.123, allocations: 7.781 kB / 1.277 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01265/2.135, allocations: 6.847 MB / 1.284 GB, free: 224 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002135/2.138, allocations: 0.7902 MB / 1.285 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00101/2.139, allocations: 54.05 kB / 1.285 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002162/2.141, allocations: 168 kB / 1.285 GB, free: 223.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009903/2.142, allocations: 259.2 kB / 1.285 GB, free: 223.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002456/2.142, allocations: 72.94 kB / 1.285 GB, free: 223.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002792/2.145, allocations: 1.503 MB / 1.287 GB, free: 223 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.7e-07/2.145, allocations: 0 / 1.287 GB, free: 223 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005502/2.15, allocations: 1.372 MB / 1.288 GB, free: 222.9 MB / 0.9981 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.01207/2.162, allocations: 7.488 MB / 1.296 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01098/2.174, allocations: 6.903 MB / 1.302 GB, free: 212.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/2.174, allocations: 0 / 1.302 GB, free: 212.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007924/2.181, allocations: 4.416 MB / 1.307 GB, free: 207.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007117/2.189, allocations: 1.034 MB / 1.308 GB, free: 206.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05942/2.248, allocations: 32.3 MB / 1.339 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007035/2.255, allocations: 3.641 MB / 1.343 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002679/2.258, allocations: 0.5556 MB / 1.343 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002589/2.261, allocations: 1.975 MB / 1.345 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.523e-06/2.261, allocations: 0 / 1.345 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1459/2.406, allocations: 107.4 MB / 1.45 GB, free: 60.43 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002536/2.407, allocations: 226.1 kB / 1.45 GB, free: 60.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.535/6.941, allocations: 0 / 1.45 GB, free: 60.2 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat does not exist to compare? outputFormat=mat