Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_R_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_8_Buildings_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.0009895/0.0009897, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.001058/0.001058, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.786/1.786, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.733/1.733, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005836/0.000584, allocations: 16.8 kB / 0.6738 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3014, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03835/0.3398, allocations: 34.48 MB / 0.8211 GB, free: 9.258 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01894/0.3588, allocations: 10.6 MB / 0.8314 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004405/0.3633, allocations: 127.3 kB / 0.8316 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003185/0.3665, allocations: 0.7635 MB / 0.8323 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006843/0.3734, allocations: 1.787 MB / 0.8341 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005163/0.3786, allocations: 1.284 MB / 0.8353 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01496/0.3935, allocations: 10.36 MB / 0.8454 GB, free: 280 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02226/0.4159, allocations: 12.66 MB / 0.8578 GB, free: 3.539 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006406/0.4223, allocations: 2.868 MB / 0.8606 GB, free: 0.6602 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007981/0.4303, allocations: 3.769 MB / 0.8643 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001633/0.432, allocations: 348 kB / 0.8646 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003716/0.4357, allocations: 0.7025 MB / 0.8653 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004369/0.4401, allocations: 2.51 MB / 0.8677 GB, free: 9.32 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00347/0.4436, allocations: 1.206 MB / 0.8689 GB, free: 8.105 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01436/0.458, allocations: 10.18 MB / 0.8789 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.458, allocations: 0 / 0.8789 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.255e-06/0.458, allocations: 0 / 0.8789 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0005222/0.4586, allocations: 0 / 0.8789 GB, free: 13.89 MB / 0.7012 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.0186/0.4772, allocations: 5.148 MB / 0.8839 GB, free: 8.676 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 7.931e-05/0.4773, allocations: 8.031 kB / 0.8839 GB, free: 8.668 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004521/0.4818, allocations: 0.8253 MB / 0.8847 GB, free: 7.832 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006764/0.4886, allocations: 1.074 MB / 0.8857 GB, free: 6.75 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00923/0.4979, allocations: 3.341 MB / 0.889 GB, free: 3.355 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004521/0.4984, allocations: 427.3 kB / 0.8894 GB, free: 2.938 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002488/0.5009, allocations: 0.5428 MB / 0.8899 GB, free: 2.395 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02074/0.5216, allocations: 9.33 MB / 0.8991 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001422/0.5218, allocations: 19.81 kB / 0.8991 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006538/0.5225, allocations: 247.9 kB / 0.8993 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006046/0.5231, allocations: 422.9 kB / 0.8997 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01504/0.5382, allocations: 7.08 MB / 0.9066 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5694/1.108, allocations: 41.36 MB / 0.947 GB, free: 73.14 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008807/1.117, allocations: 3.095 MB / 0.95 GB, free: 71.82 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00454/1.121, allocations: 2.116 MB / 0.9521 GB, free: 70.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001823/1.121, allocations: 22.84 kB / 0.9521 GB, free: 70.73 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.075e-05/1.121, allocations: 69.95 kB / 0.9522 GB, free: 70.66 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=209): time 5.791e-06/1.121, allocations: 0 / 0.9522 GB, free: 70.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=212): time 0.03075/1.152, allocations: 10.45 MB / 0.9624 GB, free: 64.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/1.152, allocations: 81.02 kB / 0.9625 GB, free: 64.73 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004369/1.157, allocations: 1.978 MB / 0.9644 GB, free: 63.65 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002507/1.157, allocations: 63.55 kB / 0.9645 GB, free: 63.59 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00166/1.159, allocations: 2.408 MB / 0.9668 GB, free: 61.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006882/1.159, allocations: 0.7354 MB / 0.9675 GB, free: 60.84 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/1.16, allocations: 55.91 kB / 0.9676 GB, free: 60.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001694/1.16, allocations: 407.1 kB / 0.968 GB, free: 60.43 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001954/1.162, allocations: 1.365 MB / 0.9693 GB, free: 59.71 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002289/1.164, allocations: 2.09 MB / 0.9714 GB, free: 58.05 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002556/1.167, allocations: 1.723 MB / 0.973 GB, free: 57.12 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.928e-05/1.167, allocations: 11.91 kB / 0.973 GB, free: 57.12 MB / 0.7169 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008064/1.175, allocations: 5.04 MB / 0.978 GB, free: 54.44 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.464e-05/1.175, allocations: 23.7 kB / 0.978 GB, free: 54.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.084e-05/1.175, allocations: 21.28 kB / 0.978 GB, free: 54.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0031/1.178, allocations: 1.552 MB / 0.9795 GB, free: 53.78 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/1.179, allocations: 457.2 kB / 0.98 GB, free: 53.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01711/1.196, allocations: 17.07 MB / 0.9966 GB, free: 38.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002453/1.199, allocations: 151.9 kB / 0.9968 GB, free: 38.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000455/1.199, allocations: 108 kB / 0.9969 GB, free: 38.41 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,69.4%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003752/1.203, allocations: 1.937 MB / 0.9988 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008063/1.204, allocations: 288.8 kB / 0.999 GB, free: 36.18 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006749/1.211, allocations: 4.447 MB / 1.003 GB, free: 31.7 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/1.211, allocations: 23.94 kB / 1.003 GB, free: 31.67 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.188e-05/1.211, allocations: 19.95 kB / 1.003 GB, free: 31.65 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.899e-05/1.211, allocations: 15.95 kB / 1.003 GB, free: 31.64 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01564/1.227, allocations: 9.63 MB / 1.013 GB, free: 21.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/1.227, allocations: 8.062 kB / 1.013 GB, free: 21.89 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008762/1.227, allocations: 232.4 kB / 1.013 GB, free: 21.67 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002755/1.23, allocations: 1.421 MB / 1.014 GB, free: 20.24 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001511/1.23, allocations: 44 kB / 1.015 GB, free: 20.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01723/1.248, allocations: 17.07 MB / 1.031 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/1.248, allocations: 8 kB / 1.031 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007635/1.255, allocations: 4.525 MB / 1.036 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001746/1.257, allocations: 0.6342 MB / 1.036 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007957/1.258, allocations: 40 kB / 1.036 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001588/1.259, allocations: 111.9 kB / 1.036 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005025/1.26, allocations: 185.6 kB / 1.037 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001687/1.26, allocations: 56 kB / 1.037 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002413/1.263, allocations: 1.295 MB / 1.038 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.51e-07/1.263, allocations: 0 / 1.038 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004284/1.267, allocations: 1.141 MB / 1.039 GB, free: 10.5 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(4,100.0%) 18,(6,66.7%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00817/1.275, allocations: 5.146 MB / 1.044 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01085/1.286, allocations: 4.67 MB / 1.049 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/1.286, allocations: 4 kB / 1.049 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007381/1.293, allocations: 2.926 MB / 1.051 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007297/1.301, allocations: 0.8296 MB / 1.052 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05961/1.36, allocations: 26.19 MB / 1.078 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006028/1.366, allocations: 3.694 MB / 1.081 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002289/1.369, allocations: 0.5557 MB / 1.082 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002635/1.371, allocations: 1.948 MB / 1.084 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of SimCode: time 2.595e-06/1.371, allocations: 0 / 1.084 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1391/1.511, allocations: 82.33 MB / 1.164 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002423/1.511, allocations: 231.1 kB / 1.164 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.553/5.064, allocations: 4 kB / 1.164 GB, free: 9.039 MB / 0.8575 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) Environment - environmentSimulation: