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.001389/0.001389, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001814/0.001814, allocations: 186.8 kB / 16.62 MB, free: 6.613 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.395/1.395, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.718/1.718, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001455/0.001455, allocations: 68.61 kB / 0.6718 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2295, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03403/0.2636, allocations: 30.66 MB / 0.8136 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0223/0.2859, allocations: 13.65 MB / 0.8269 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003665/0.2896, allocations: 147.2 kB / 0.8271 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.008415/0.2981, allocations: 3.195 MB / 0.8302 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008882/0.307, allocations: 2.657 MB / 0.8328 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006355/0.3134, allocations: 2.009 MB / 0.8347 GB, free: 8.758 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01203/0.3254, allocations: 7.621 MB / 0.8422 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01267/0.3382, allocations: 8.217 MB / 0.8502 GB, free: 8.773 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007557/0.3458, allocations: 3.416 MB / 0.8535 GB, free: 5.348 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006297/0.3521, allocations: 3.379 MB / 0.8568 GB, free: 1.957 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001884/0.3541, allocations: 0.5977 MB / 0.8574 GB, free: 1.359 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004163/0.3582, allocations: 1.494 MB / 0.8589 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003735/0.362, allocations: 2.37 MB / 0.8612 GB, free: 13.49 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00658/0.3686, allocations: 2.878 MB / 0.864 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01328/0.3819, allocations: 9.457 MB / 0.8732 GB, free: 1.113 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.122e-05/0.382, allocations: 0 / 0.8732 GB, free: 1.113 MB / 0.6856 GB Notification: Performance of FrontEnd: time 4.659e-06/0.382, allocations: 0 / 0.8732 GB, free: 1.113 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0004001/0.3824, allocations: 4 kB / 0.8732 GB, free: 1.109 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.01672/0.3992, allocations: 5.148 MB / 0.8783 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/0.3992, allocations: 8.031 kB / 0.8783 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002065/0.4013, allocations: 0.6203 MB / 0.8789 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00676/0.4081, allocations: 0.998 MB / 0.8799 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007477/0.4156, allocations: 3.075 MB / 0.8829 GB, free: 7.082 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003689/0.416, allocations: 316.8 kB / 0.8832 GB, free: 6.77 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001959/0.418, allocations: 419.8 kB / 0.8836 GB, free: 6.359 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01788/0.4359, allocations: 6.799 MB / 0.8902 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001606/0.4361, allocations: 19.83 kB / 0.8902 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000746/0.4369, allocations: 184 kB / 0.8904 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008722/0.4377, allocations: 376 kB / 0.8908 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01089/0.4486, allocations: 5.11 MB / 0.8957 GB, free: 9.562 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4601/0.9088, allocations: 30.51 MB / 0.9255 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002203/0.911, allocations: 1.388 MB / 0.9269 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001935/0.913, allocations: 1.331 MB / 0.9282 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/0.9131, allocations: 14.16 kB / 0.9282 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.576e-05/0.9132, allocations: 55.05 kB / 0.9283 GB, free: 114 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=130): time 3.456e-06/0.9132, allocations: 0 / 0.9283 GB, free: 114 MB / 0.7325 GB Notification: Performance of matching and sorting (n=199): time 0.08682/1, allocations: 23.07 MB / 0.9508 GB, free: 110.2 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/1, allocations: 75.81 kB / 0.9509 GB, free: 110.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003259/1.003, allocations: 2.066 MB / 0.9529 GB, free: 109 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000394/1.004, allocations: 61.64 kB / 0.9529 GB, free: 109 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001099/1.005, allocations: 2.009 MB / 0.9549 GB, free: 107.2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005719/1.005, allocations: 0.6751 MB / 0.9556 GB, free: 106.6 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006583/1.006, allocations: 410.1 kB / 0.9559 GB, free: 106.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.388e-05/1.006, allocations: 305.1 kB / 0.9562 GB, free: 106.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001687/1.008, allocations: 1.428 MB / 0.9576 GB, free: 105.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001854/1.01, allocations: 2.015 MB / 0.9596 GB, free: 103.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003806/1.014, allocations: 3.689 MB / 0.9632 GB, free: 101.4 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.53e-05/1.014, allocations: 5.312 kB / 0.9632 GB, free: 101.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009917/1.024, allocations: 5.663 MB / 0.9687 GB, free: 98.18 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.756e-05/1.024, allocations: 14.41 kB / 0.9688 GB, free: 98.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-05/1.024, allocations: 19.19 kB / 0.9688 GB, free: 98.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006095/1.03, allocations: 2.073 MB / 0.9708 GB, free: 97.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/1.031, allocations: 387.7 kB / 0.9712 GB, free: 96.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02985/1.061, allocations: 38.44 MB / 1.009 GB, free: 57.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003004/1.064, allocations: 128.3 kB / 1.009 GB, free: 57.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003187/1.065, allocations: 95.98 kB / 1.009 GB, free: 57.36 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.002807/1.067, allocations: 1.504 MB / 1.01 GB, free: 55.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007365/1.068, allocations: 284.7 kB / 1.011 GB, free: 55.56 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008655/1.077, allocations: 5.208 MB / 1.016 GB, free: 50.28 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/1.077, allocations: 23.94 kB / 1.016 GB, free: 50.25 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-05/1.077, allocations: 23.92 kB / 1.016 GB, free: 50.23 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.912e-05/1.077, allocations: 11.97 kB / 1.016 GB, free: 50.22 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01645/1.093, allocations: 9.678 MB / 1.025 GB, free: 40.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/1.094, allocations: 8 kB / 1.025 GB, free: 40.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008713/1.094, allocations: 211.6 kB / 1.025 GB, free: 40.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005174/1.1, allocations: 1.848 MB / 1.027 GB, free: 38.27 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003078/1.1, allocations: 36 kB / 1.027 GB, free: 38.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02776/1.128, allocations: 37.44 MB / 1.064 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.046e-06/1.128, allocations: 7.938 kB / 1.064 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009358/1.137, allocations: 4.905 MB / 1.069 GB, free: 9.27 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002/1.139, allocations: 0.6186 MB / 1.069 GB, free: 8.629 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005858/1.14, allocations: 44 kB / 1.069 GB, free: 8.586 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001537/1.141, allocations: 123.8 kB / 1.069 GB, free: 8.465 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006856/1.142, allocations: 211.1 kB / 1.07 GB, free: 8.262 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/1.142, allocations: 52 kB / 1.07 GB, free: 8.211 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00227/1.144, allocations: 1.382 MB / 1.071 GB, free: 6.82 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.21e-07/1.144, allocations: 0 / 1.071 GB, free: 6.82 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004807/1.149, allocations: 1.043 MB / 1.072 GB, free: 5.777 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.01/1.159, allocations: 5.535 MB / 1.077 GB, free: 80 kB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01058/1.17, allocations: 6.292 MB / 1.084 GB, free: 9.57 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/1.17, allocations: 3.938 kB / 1.084 GB, free: 9.566 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.006716/1.177, allocations: 4.4 MB / 1.088 GB, free: 4.953 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004528/1.181, allocations: 0.9912 MB / 1.089 GB, free: 4.023 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05708/1.238, allocations: 30.64 MB / 1.119 GB, free: 4.379 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003719/1.242, allocations: 3.123 MB / 1.122 GB, free: 1.223 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001911/1.244, allocations: 0.5237 MB / 1.122 GB, free: 0.6953 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002472/1.247, allocations: 1.678 MB / 1.124 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of SimCode: time 9.52e-07/1.247, allocations: 0 / 1.124 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1705/1.417, allocations: 87.03 MB / 1.209 GB, free: 9.18 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.11/16.53, allocations: 5.438 kB / 1.209 GB, free: 9.176 MB / 0.8887 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)