Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.001185/0.001185, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001264/0.001264, allocations: 188 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.234/1.234, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002058/0.002058, allocations: 278.5 kB / 290.3 MB, free: 2.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8518/0.8518, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.001581, allocations: 94.94 kB / 0.5948 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1567, allocations: 86.97 MB / 0.6797 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.0306/0.1873, allocations: 30.47 MB / 0.7095 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01832/0.2057, allocations: 13.45 MB / 0.7226 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003171/0.2089, allocations: 131.2 kB / 0.7228 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.007259/0.2162, allocations: 2.981 MB / 0.7257 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007069/0.2233, allocations: 2.456 MB / 0.7281 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004804/0.2281, allocations: 1.852 MB / 0.7299 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.009068/0.2372, allocations: 7.644 MB / 0.7373 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01371/0.2509, allocations: 9.941 MB / 0.7471 GB, free: 11.78 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005455/0.2564, allocations: 3.458 MB / 0.7504 GB, free: 8.309 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005101/0.2615, allocations: 3.539 MB / 0.7539 GB, free: 4.758 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001716/0.2632, allocations: 0.5938 MB / 0.7545 GB, free: 4.164 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003864/0.2671, allocations: 1.498 MB / 0.7559 GB, free: 2.664 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003159/0.2703, allocations: 2.366 MB / 0.7582 GB, free: 300 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.004153/0.2745, allocations: 2.886 MB / 0.7611 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.009233/0.2837, allocations: 9.465 MB / 0.7703 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.2838, allocations: 3.984 kB / 0.7703 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2838, allocations: 0 / 0.7703 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002412/0.284, allocations: 4 kB / 0.7703 GB, free: 3.895 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.2841/0.5681, allocations: 5.13 MB / 0.7753 GB, free: 87.15 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.5682, allocations: 10 kB / 0.7753 GB, free: 87.15 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009521/0.5692, allocations: 0.6161 MB / 0.7759 GB, free: 86.82 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005529/0.5747, allocations: 0.9962 MB / 0.7769 GB, free: 86.54 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00472/0.5794, allocations: 2.89 MB / 0.7797 GB, free: 85.07 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001937/0.5796, allocations: 319.5 kB / 0.78 GB, free: 84.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006159/0.5803, allocations: 418.4 kB / 0.7804 GB, free: 84.79 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009204/0.5895, allocations: 6.795 MB / 0.7871 GB, free: 81.9 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.604e-05/0.5896, allocations: 21.86 kB / 0.7871 GB, free: 81.89 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003757/0.59, allocations: 185.5 kB / 0.7873 GB, free: 81.76 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000777/0.5908, allocations: 369.5 kB / 0.7876 GB, free: 81.73 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007324/0.5981, allocations: 5.116 MB / 0.7926 GB, free: 79.93 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02543/0.6235, allocations: 30.74 MB / 0.8226 GB, free: 52.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.6252, allocations: 1.394 MB / 0.824 GB, free: 52.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/0.6266, allocations: 1.329 MB / 0.8253 GB, free: 51.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.533e-05/0.6267, allocations: 13.16 kB / 0.8253 GB, free: 51.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.6267, allocations: 47.75 kB / 0.8253 GB, free: 51.36 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=130): time 2.986e-06/0.6267, allocations: 0 / 0.8253 GB, free: 51.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=199): time 0.07061/0.6973, allocations: 23.07 MB / 0.8479 GB, free: 31.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.6974, allocations: 73.41 kB / 0.848 GB, free: 31.71 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002019/0.6994, allocations: 2.059 MB / 0.85 GB, free: 29.64 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001434/0.6996, allocations: 65.7 kB / 0.85 GB, free: 29.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006727/0.7003, allocations: 2.005 MB / 0.852 GB, free: 27.55 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003495/0.7006, allocations: 0.6769 MB / 0.8526 GB, free: 26.88 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005619/0.7012, allocations: 408.1 kB / 0.853 GB, free: 26.47 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.32e-05/0.7012, allocations: 301.1 kB / 0.8533 GB, free: 26.17 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001539/0.7028, allocations: 1.436 MB / 0.8547 GB, free: 24.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001667/0.7045, allocations: 2.017 MB / 0.8567 GB, free: 22.47 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003251/0.7077, allocations: 3.692 MB / 0.8603 GB, free: 18.54 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.7077, allocations: 7.938 kB / 0.8603 GB, free: 18.53 MB / 0.5606 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.008648/0.7164, allocations: 5.661 MB / 0.8658 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.7164, allocations: 17.81 kB / 0.8659 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.7164, allocations: 16 kB / 0.8659 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005659/0.7221, allocations: 2.094 MB / 0.8679 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.7234, allocations: 383.3 kB / 0.8683 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03337/0.7568, allocations: 38.46 MB / 0.9058 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002363/0.7592, allocations: 127.9 kB / 0.906 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001853/0.7594, allocations: 92 kB / 0.906 GB, free: 1.094 MB / 0.5919 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002355/0.7618, allocations: 1.505 MB / 0.9075 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006083/0.7624, allocations: 288.6 kB / 0.9078 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009864/0.7722, allocations: 5.204 MB / 0.9129 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/0.7723, allocations: 20 kB / 0.9129 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.958e-05/0.7723, allocations: 23.94 kB / 0.9129 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.749e-05/0.7723, allocations: 15.95 kB / 0.9129 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01583/0.7882, allocations: 9.672 MB / 0.9224 GB, free: 120 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.7882, allocations: 8 kB / 0.9224 GB, free: 112 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007779/0.789, allocations: 219.6 kB / 0.9226 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005423/0.7944, allocations: 1.853 MB / 0.9244 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001269/0.7946, allocations: 43.98 kB / 0.9244 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03339/0.828, allocations: 37.46 MB / 0.961 GB, free: 6.004 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.828, allocations: 7.938 kB / 0.961 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008802/0.8368, allocations: 4.92 MB / 0.9658 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/0.838, allocations: 0.6142 MB / 0.9664 GB, free: 296 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003466/0.8383, allocations: 47.91 kB / 0.9665 GB, free: 248 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/0.8396, allocations: 127.8 kB / 0.9666 GB, free: 120 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000591/0.8402, allocations: 197.5 kB / 0.9668 GB, free: 15.93 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/0.8403, allocations: 60 kB / 0.9668 GB, free: 15.87 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00172/0.8421, allocations: 1.374 MB / 0.9682 GB, free: 14.48 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8421, allocations: 0 / 0.9682 GB, free: 14.48 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003071/0.8451, allocations: 1.043 MB / 0.9692 GB, free: 13.44 MB / 0.67 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00826/0.8534, allocations: 5.539 MB / 0.9746 GB, free: 7.73 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0105/0.8639, allocations: 7.215 MB / 0.9817 GB, free: 320 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.8639, allocations: 4 kB / 0.9817 GB, free: 316 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005803/0.8697, allocations: 4.405 MB / 0.986 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003718/0.8735, allocations: 0.9982 MB / 0.9869 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05556/0.9291, allocations: 35.95 MB / 1.022 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003225/0.9323, allocations: 3.123 MB / 1.025 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001959/0.9343, allocations: 0.5237 MB / 1.026 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001732/0.936, allocations: 1.678 MB / 1.027 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of SimCode: time 6.41e-07/0.936, allocations: 0 / 1.027 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.185/2.121, allocations: 89.64 MB / 1.115 GB, free: 230.9 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/2.122, allocations: 254.5 kB / 1.115 GB, free: 230.6 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.017/6.138, allocations: 4.672 kB / 1.115 GB, free: 230.6 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)