Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_Buildings_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.001095/0.001095, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001564/0.001564, allocations: 195.7 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.669/1.669, allocations: 292.3 MB / 0.5486 GB, free: 13.63 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.001403/0.001403, allocations: 63.98 kB / 0.6711 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2127, allocations: 114.5 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03179/0.2445, allocations: 30.39 MB / 0.8127 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01953/0.2641, allocations: 13.52 MB / 0.8259 GB, free: 1.738 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002963/0.2671, allocations: 135.2 kB / 0.826 GB, free: 1.605 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.007157/0.2743, allocations: 2.964 MB / 0.8289 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00649/0.2808, allocations: 2.465 MB / 0.8313 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004234/0.285, allocations: 1.851 MB / 0.8331 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007872/0.2929, allocations: 7.633 MB / 0.8406 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01283/0.3058, allocations: 9.934 MB / 0.8503 GB, free: 8.609 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005992/0.3118, allocations: 3.462 MB / 0.8536 GB, free: 5.137 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005155/0.317, allocations: 3.539 MB / 0.8571 GB, free: 1.586 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001085/0.3181, allocations: 0.5938 MB / 0.8577 GB, free: 0.9922 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002868/0.321, allocations: 1.494 MB / 0.8591 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002197/0.3232, allocations: 2.366 MB / 0.8614 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003449/0.3267, allocations: 2.878 MB / 0.8643 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008833/0.3355, allocations: 9.476 MB / 0.8735 GB, free: 0.7305 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3355, allocations: 4 kB / 0.8735 GB, free: 0.7266 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3355, allocations: 0 / 0.8735 GB, free: 0.7266 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002006/0.3358, allocations: 0 / 0.8735 GB, free: 0.7266 MB / 0.6856 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.009743/0.3455, allocations: 5.128 MB / 0.8785 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.3456, allocations: 16.03 kB / 0.8785 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008269/0.3464, allocations: 0.6203 MB / 0.8791 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008261/0.3547, allocations: 0.9942 MB / 0.8801 GB, free: 9.871 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008655/0.3633, allocations: 2.892 MB / 0.8829 GB, free: 6.898 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003748/0.3637, allocations: 320.8 kB / 0.8832 GB, free: 6.582 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001414/0.3652, allocations: 419.8 kB / 0.8836 GB, free: 6.172 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01869/0.3839, allocations: 6.791 MB / 0.8903 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001625/0.3841, allocations: 19.83 kB / 0.8903 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000759/0.3849, allocations: 184 kB / 0.8905 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001376/0.3862, allocations: 376 kB / 0.8908 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01454/0.4008, allocations: 5.114 MB / 0.8958 GB, free: 9.383 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4121/0.813, allocations: 30.73 MB / 0.9258 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/0.8151, allocations: 1.389 MB / 0.9272 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00166/0.8168, allocations: 1.33 MB / 0.9285 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.452e-05/0.8169, allocations: 17.69 kB / 0.9285 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/0.817, allocations: 46.28 kB / 0.9285 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=130): time 3.757e-06/0.817, allocations: 0 / 0.9285 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=199): time 0.08367/0.9007, allocations: 23.07 MB / 0.9511 GB, free: 110.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.9008, allocations: 73.72 kB / 0.9511 GB, free: 110.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003017/0.9038, allocations: 2.065 MB / 0.9532 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003355/0.9041, allocations: 61.61 kB / 0.9532 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001193/0.9053, allocations: 2.009 MB / 0.9552 GB, free: 107.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000744/0.9061, allocations: 0.6766 MB / 0.9558 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007123/0.9068, allocations: 411.7 kB / 0.9562 GB, free: 106.7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.641e-05/0.9069, allocations: 309.1 kB / 0.9565 GB, free: 106.4 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001709/0.9086, allocations: 1.429 MB / 0.9579 GB, free: 105.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/0.9105, allocations: 2.015 MB / 0.9599 GB, free: 104.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003775/0.9142, allocations: 3.697 MB / 0.9635 GB, free: 101.7 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/0.9143, allocations: 3.875 kB / 0.9635 GB, free: 101.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009748/0.924, allocations: 5.658 MB / 0.969 GB, free: 98.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.747e-05/0.9241, allocations: 15.12 kB / 0.9691 GB, free: 98.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/0.9241, allocations: 15.19 kB / 0.9691 GB, free: 98.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006274/0.9304, allocations: 2.097 MB / 0.9711 GB, free: 97.35 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/0.9318, allocations: 373.4 kB / 0.9715 GB, free: 97.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02863/0.9605, allocations: 38.46 MB / 1.009 GB, free: 57.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002442/0.963, allocations: 127.9 kB / 1.009 GB, free: 57.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002007/0.9632, allocations: 96 kB / 1.009 GB, free: 57.41 MB / 0.7325 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.002176/0.9654, allocations: 1.5 MB / 1.011 GB, free: 55.89 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006166/0.966, allocations: 288.6 kB / 1.011 GB, free: 55.61 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008766/0.9748, allocations: 5.215 MB / 1.016 GB, free: 50.32 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/0.9748, allocations: 20 kB / 1.016 GB, free: 50.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.196e-05/0.9749, allocations: 16 kB / 1.016 GB, free: 50.29 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.39e-05/0.9749, allocations: 9.094 kB / 1.016 GB, free: 50.28 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01561/0.9905, allocations: 9.678 MB / 1.026 GB, free: 40.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/0.9906, allocations: 12 kB / 1.026 GB, free: 40.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008229/0.9914, allocations: 219.4 kB / 1.026 GB, free: 40.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005331/0.9967, allocations: 1.855 MB / 1.028 GB, free: 38.31 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002055/0.997, allocations: 36 kB / 1.028 GB, free: 38.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02772/1.025, allocations: 37.47 MB / 1.064 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.912e-06/1.025, allocations: 8 kB / 1.064 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009523/1.034, allocations: 4.909 MB / 1.069 GB, free: 9.273 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001877/1.036, allocations: 0.6147 MB / 1.07 GB, free: 8.637 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004339/1.037, allocations: 51.92 kB / 1.07 GB, free: 8.586 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/1.038, allocations: 123.8 kB / 1.07 GB, free: 8.465 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007381/1.039, allocations: 193.6 kB / 1.07 GB, free: 8.277 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/1.039, allocations: 56 kB / 1.07 GB, free: 8.223 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002328/1.041, allocations: 1.382 MB / 1.071 GB, free: 6.832 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.041, allocations: 0 / 1.071 GB, free: 6.832 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003945/1.045, allocations: 1.043 MB / 1.072 GB, free: 5.789 MB / 0.7481 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.00939/1.055, allocations: 5.538 MB / 1.078 GB, free: 92 kB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01162/1.066, allocations: 7.214 MB / 1.085 GB, free: 8.668 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/1.066, allocations: 8.125 kB / 1.085 GB, free: 8.66 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00635/1.073, allocations: 4.39 MB / 1.089 GB, free: 4.055 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004527/1.077, allocations: 0.9999 MB / 1.09 GB, free: 3.105 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05999/1.137, allocations: 35.96 MB / 1.125 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003608/1.141, allocations: 3.125 MB / 1.128 GB, free: 9.523 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002006/1.143, allocations: 0.5237 MB / 1.129 GB, free: 8.996 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002098/1.145, allocations: 1.675 MB / 1.13 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of SimCode: time 1.833e-06/1.145, allocations: 0 / 1.13 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1632/1.308, allocations: 89.61 MB / 1.218 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/1.308, allocations: 242 kB / 1.218 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.912/5.221, allocations: 7.938 kB / 1.218 GB, free: 14.58 MB / 0.9044 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)