Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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/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_R_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.0008086/0.0008086, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005423/0.005423, allocations: 172 kB / 16.26 MB, free: 6.613 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.28/1.28, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001655/0.001655, allocations: 282.5 kB / 291.7 MB, free: 1.852 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9206/0.9206, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004574/0.0004574, allocations: 14.88 kB / 0.5988 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1653, allocations: 88.55 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03806/0.2034, allocations: 36.72 MB / 0.7211 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01719/0.2206, allocations: 10.85 MB / 0.7317 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003715/0.2244, allocations: 131.2 kB / 0.7318 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003062/0.2275, allocations: 0.7791 MB / 0.7326 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006484/0.234, allocations: 2.1 MB / 0.7346 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004987/0.239, allocations: 1.792 MB / 0.7364 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01373/0.2527, allocations: 13.18 MB / 0.7493 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3362/0.589, allocations: 14.46 MB / 0.7634 GB, free: 21.49 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006984/0.596, allocations: 2.834 MB / 0.7662 GB, free: 21.39 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008343/0.6044, allocations: 3.876 MB / 0.7699 GB, free: 20.89 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002319/0.6067, allocations: 346.7 kB / 0.7703 GB, free: 20.89 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005062/0.6118, allocations: 1.326 MB / 0.7716 GB, free: 20.89 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.005824/0.6176, allocations: 2.529 MB / 0.774 GB, free: 20.67 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.007869/0.6255, allocations: 2.959 MB / 0.7769 GB, free: 19.77 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01526/0.6408, allocations: 11.69 MB / 0.7883 GB, free: 18.47 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.6409, allocations: 0 / 0.7883 GB, free: 18.47 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.284e-06/0.6409, allocations: 0 / 0.7883 GB, free: 18.47 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0004169/0.6413, allocations: 5.156 kB / 0.7883 GB, free: 18.47 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01408/0.6554, allocations: 5.073 MB / 0.7933 GB, free: 15.63 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.6555, allocations: 8.969 kB / 0.7933 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003487/0.659, allocations: 0.8268 MB / 0.7941 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007311/0.6663, allocations: 1.076 MB / 0.7952 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008095/0.6744, allocations: 3.425 MB / 0.7985 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004961/0.6749, allocations: 424.3 kB / 0.7989 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002426/0.6774, allocations: 0.5384 MB / 0.7994 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0194/0.6968, allocations: 9.378 MB / 0.8086 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001267/0.6969, allocations: 29.23 kB / 0.8086 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006487/0.6976, allocations: 248.7 kB / 0.8089 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005076/0.6981, allocations: 419.5 kB / 0.8093 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01129/0.7094, allocations: 7.122 MB / 0.8162 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03983/0.7492, allocations: 41.38 MB / 0.8566 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004315/0.7536, allocations: 3.097 MB / 0.8596 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002694/0.7563, allocations: 2.121 MB / 0.8617 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.757e-05/0.7564, allocations: 25.94 kB / 0.8617 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.099e-05/0.7565, allocations: 60.56 kB / 0.8618 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=209): time 3.406e-06/0.7565, allocations: 8 kB / 0.8618 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=212): time 0.02319/0.7797, allocations: 10.61 MB / 0.8722 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.7798, allocations: 77.34 kB / 0.8722 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002608/0.7824, allocations: 2.005 MB / 0.8742 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001519/0.7825, allocations: 61.7 kB / 0.8743 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001499/0.7841, allocations: 2.412 MB / 0.8766 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005848/0.7846, allocations: 0.7249 MB / 0.8773 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002854/0.7849, allocations: 211.1 kB / 0.8775 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.214e-05/0.785, allocations: 305.1 kB / 0.8778 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001872/0.7869, allocations: 1.372 MB / 0.8792 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002403/0.7893, allocations: 2.105 MB / 0.8812 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004591/0.7939, allocations: 3.768 MB / 0.8849 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.036e-05/0.794, allocations: 8 kB / 0.8849 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007944/0.8019, allocations: 5.074 MB / 0.8898 GB, free: 428 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.802, allocations: 13.88 kB / 0.8899 GB, free: 416 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.677e-05/0.802, allocations: 27.98 kB / 0.8899 GB, free: 388 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003388/0.8054, allocations: 1.575 MB / 0.8914 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/0.8069, allocations: 455.6 kB / 0.8919 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02037/0.8273, allocations: 17.1 MB / 0.9086 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002523/0.8299, allocations: 151.4 kB / 0.9087 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002173/0.8301, allocations: 108 kB / 0.9088 GB, free: 12.55 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00359/0.8337, allocations: 1.944 MB / 0.9107 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005164/0.8342, allocations: 284.7 kB / 0.911 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007153/0.8414, allocations: 4.46 MB / 0.9153 GB, free: 5.914 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.8414, allocations: 20 kB / 0.9154 GB, free: 5.895 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/0.8414, allocations: 16 kB / 0.9154 GB, free: 5.879 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.762e-05/0.8414, allocations: 11.95 kB / 0.9154 GB, free: 5.867 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01513/0.8566, allocations: 9.671 MB / 0.9248 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.8566, allocations: 4 kB / 0.9248 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009681/0.8576, allocations: 231.2 kB / 0.925 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003215/0.8608, allocations: 1.443 MB / 0.9265 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001382/0.861, allocations: 40 kB / 0.9265 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02009/0.8811, allocations: 17.1 MB / 0.9432 GB, free: 8.887 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.8811, allocations: 6.812 kB / 0.9432 GB, free: 8.883 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00703/0.8881, allocations: 4.544 MB / 0.9476 GB, free: 4.316 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001285/0.8894, allocations: 0.6344 MB / 0.9483 GB, free: 3.66 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003121/0.8897, allocations: 44.25 kB / 0.9483 GB, free: 3.617 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/0.891, allocations: 115.9 kB / 0.9484 GB, free: 3.504 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005051/0.8915, allocations: 187.4 kB / 0.9486 GB, free: 3.324 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/0.8917, allocations: 63.94 kB / 0.9487 GB, free: 3.262 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001799/0.8935, allocations: 1.315 MB / 0.9499 GB, free: 1.938 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8935, allocations: 0 / 0.9499 GB, free: 1.938 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003105/0.8966, allocations: 1.145 MB / 0.9511 GB, free: 0.793 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006642/0.9032, allocations: 5.156 MB / 0.9561 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006717/0.91, allocations: 4.701 MB / 0.9607 GB, free: 6.941 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.91, allocations: 0 / 0.9607 GB, free: 6.941 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004445/0.9144, allocations: 2.919 MB / 0.9635 GB, free: 4.004 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00573/0.9202, allocations: 0.8406 MB / 0.9644 GB, free: 3.176 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05674/0.9769, allocations: 35.94 MB / 0.9994 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00446/0.9814, allocations: 3.698 MB / 1.003 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002077/0.9835, allocations: 0.5517 MB / 1.004 GB, free: 8.688 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002376/0.9859, allocations: 1.94 MB / 1.005 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of SimCode: time 6.01e-07/0.9859, allocations: 0 / 1.005 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.138/2.124, allocations: 82.43 MB / 1.086 GB, free: 261.5 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/2.124, allocations: 255.6 kB / 1.086 GB, free: 261.3 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.27/5.394, allocations: 0 / 1.086 GB, free: 261.3 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)