Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.001126/0.001126, 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.001248/0.001248, allocations: 189.5 kB / 16.62 MB, free: 6.582 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.456/1.456, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.68/1.68, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001527/0.001527, allocations: 72.67 kB / 0.6718 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2368, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03784/0.2747, allocations: 32.5 MB / 0.8154 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01784/0.2925, allocations: 10.37 MB / 0.8255 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003516/0.2961, allocations: 151.2 kB / 0.8256 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.009708/0.3059, allocations: 3.709 MB / 0.8293 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006107/0.312, allocations: 1.854 MB / 0.8311 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005796/0.3179, allocations: 2.123 MB / 0.8332 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009549/0.3274, allocations: 7.325 MB / 0.8403 GB, free: 3.066 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01225/0.3397, allocations: 9.424 MB / 0.8495 GB, free: 9.523 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005366/0.3451, allocations: 3.166 MB / 0.8526 GB, free: 6.348 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005866/0.351, allocations: 3.489 MB / 0.856 GB, free: 2.848 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001836/0.3529, allocations: 0.6484 MB / 0.8566 GB, free: 2.199 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004338/0.3573, allocations: 1.771 MB / 0.8584 GB, free: 436 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.003342/0.3606, allocations: 2.546 MB / 0.8609 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.005509/0.3662, allocations: 2.898 MB / 0.8637 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01413/0.3803, allocations: 10.11 MB / 0.8736 GB, free: 0.8281 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.3804, allocations: 0 / 0.8736 GB, free: 0.8281 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.434e-06/0.3804, allocations: 0 / 0.8736 GB, free: 0.8281 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0003381/0.3807, allocations: 0 / 0.8736 GB, free: 0.8281 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01179/0.3925, allocations: 5.006 MB / 0.8784 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.3926, allocations: 8.031 kB / 0.8785 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00131/0.3939, allocations: 0.682 MB / 0.8791 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005429/0.3993, allocations: 0.9435 MB / 0.88 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005845/0.4052, allocations: 3.05 MB / 0.883 GB, free: 6.992 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000264/0.4055, allocations: 345.7 kB / 0.8834 GB, free: 6.652 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001388/0.4069, allocations: 464.2 kB / 0.8838 GB, free: 6.199 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01628/0.4232, allocations: 7.675 MB / 0.8913 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001742/0.4234, allocations: 27.67 kB / 0.8913 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008227/0.4242, allocations: 200 kB / 0.8915 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003377/0.4246, allocations: 313 kB / 0.8918 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.011/0.4356, allocations: 5.71 MB / 0.8974 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4767/0.9123, allocations: 34.82 MB / 0.9314 GB, free: 110.1 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002734/0.9151, allocations: 2.162 MB / 0.9335 GB, free: 109.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001457/0.9166, allocations: 1.258 MB / 0.9347 GB, free: 109.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.555e-05/0.9167, allocations: 12.25 kB / 0.9347 GB, free: 109.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.9167, allocations: 53.09 kB / 0.9348 GB, free: 109.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=133): time 4.188e-06/0.9167, allocations: 0 / 0.9348 GB, free: 109.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=136): time 0.01342/0.9302, allocations: 7.095 MB / 0.9417 GB, free: 106.2 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.9302, allocations: 66.78 kB / 0.9418 GB, free: 106.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002317/0.9326, allocations: 1.49 MB / 0.9432 GB, free: 105.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002174/0.9328, allocations: 46.42 kB / 0.9433 GB, free: 105.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001389/0.9342, allocations: 2.011 MB / 0.9452 GB, free: 104 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005528/0.9347, allocations: 480.5 kB / 0.9457 GB, free: 103.6 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005669/0.9353, allocations: 355.2 kB / 0.946 GB, free: 103.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.703e-05/0.9354, allocations: 301.1 kB / 0.9463 GB, free: 103.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.9368, allocations: 0.9109 MB / 0.9472 GB, free: 102.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001874/0.9387, allocations: 1.598 MB / 0.9488 GB, free: 101.6 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004325/0.9431, allocations: 2.736 MB / 0.9514 GB, free: 99.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.077e-05/0.9431, allocations: 7.406 kB / 0.9515 GB, free: 99.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006866/0.95, allocations: 3.521 MB / 0.9549 GB, free: 98.31 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.418e-05/0.9501, allocations: 14.66 kB / 0.9549 GB, free: 98.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.734e-05/0.9501, allocations: 26.44 kB / 0.9549 GB, free: 98.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002626/0.9527, allocations: 0.9042 MB / 0.9558 GB, free: 97.99 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.9541, allocations: 345.8 kB / 0.9561 GB, free: 97.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01703/0.9712, allocations: 23.11 MB / 0.9787 GB, free: 78.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/0.9731, allocations: 103.9 kB / 0.9788 GB, free: 78.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001928/0.9733, allocations: 81.25 kB / 0.9789 GB, free: 78.05 MB / 0.7325 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.002685/0.976, allocations: 1.617 MB / 0.9805 GB, free: 77.31 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003987/0.9764, allocations: 203.6 kB / 0.9807 GB, free: 77.21 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004478/0.9809, allocations: 2.99 MB / 0.9836 GB, free: 75.41 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.9809, allocations: 15.75 kB / 0.9836 GB, free: 75.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.287e-05/0.9809, allocations: 11.88 kB / 0.9836 GB, free: 75.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.815e-05/0.981, allocations: 3.984 kB / 0.9836 GB, free: 75.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01155/0.9925, allocations: 7.341 MB / 0.9908 GB, free: 70.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/0.9926, allocations: 3.969 kB / 0.9908 GB, free: 70.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007619/0.9933, allocations: 182.2 kB / 0.991 GB, free: 70.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002097/0.9955, allocations: 0.8255 MB / 0.9918 GB, free: 70.27 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/0.9956, allocations: 26.33 kB / 0.9918 GB, free: 70.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01536/1.011, allocations: 21.94 MB / 1.013 GB, free: 49.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.011, allocations: 3.844 kB / 1.013 GB, free: 49.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004569/1.016, allocations: 3.034 MB / 1.016 GB, free: 47.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008389/1.016, allocations: 454.5 kB / 1.017 GB, free: 47.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002171/1.017, allocations: 35.98 kB / 1.017 GB, free: 47.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007649/1.017, allocations: 67.86 kB / 1.017 GB, free: 47.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000306/1.018, allocations: 128.7 kB / 1.017 GB, free: 46.97 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-05/1.018, allocations: 39.98 kB / 1.017 GB, free: 46.93 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001011/1.019, allocations: 0.9756 MB / 1.018 GB, free: 45.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.019, allocations: 2.625 kB / 1.018 GB, free: 45.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002781/1.022, allocations: 0.793 MB / 1.019 GB, free: 45.14 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004174/1.026, allocations: 3.605 MB / 1.022 GB, free: 41.42 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004681/1.031, allocations: 4.041 MB / 1.026 GB, free: 37.23 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/1.031, allocations: 0 / 1.026 GB, free: 37.23 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002914/1.033, allocations: 2.728 MB / 1.029 GB, free: 34.36 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002946/1.036, allocations: 0.7366 MB / 1.029 GB, free: 33.66 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02962/1.066, allocations: 22.33 MB / 1.051 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003281/1.069, allocations: 3.105 MB / 1.054 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001273/1.071, allocations: 459.9 kB / 1.055 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001377/1.072, allocations: 1.541 MB / 1.056 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of SimCode: time 9.82e-07/1.072, allocations: 0 / 1.056 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1211/1.193, allocations: 60.31 MB / 1.115 GB, free: 9.574 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/13.76, allocations: 9.422 kB / 1.115 GB, free: 9.566 MB / 0.795 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)