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.00112/0.00112, 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.001112/0.001112, allocations: 187.9 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.357/1.357, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.632/1.632, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001398/0.001398, allocations: 68.33 kB / 0.6718 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2312, allocations: 114.5 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03186/0.2631, allocations: 30.66 MB / 0.8136 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02112/0.2843, allocations: 13.65 MB / 0.8269 GB, free: 0.7656 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004008/0.2884, allocations: 143.2 kB / 0.827 GB, free: 0.625 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.007729/0.2962, allocations: 3.187 MB / 0.8302 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00772/0.3039, allocations: 2.665 MB / 0.8328 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005442/0.3094, allocations: 2.013 MB / 0.8347 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01076/0.3202, allocations: 7.625 MB / 0.8422 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01084/0.3311, allocations: 8.28 MB / 0.8503 GB, free: 8.688 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005627/0.3367, allocations: 3.404 MB / 0.8536 GB, free: 5.273 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00498/0.3417, allocations: 3.387 MB / 0.8569 GB, free: 1.875 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001123/0.3429, allocations: 0.5976 MB / 0.8575 GB, free: 1.277 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003073/0.346, allocations: 1.49 MB / 0.8589 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00236/0.3483, allocations: 2.374 MB / 0.8613 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004116/0.3525, allocations: 2.886 MB / 0.8641 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01052/0.363, allocations: 9.457 MB / 0.8733 GB, free: 1.023 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.184e-05/0.3631, allocations: 4 kB / 0.8733 GB, free: 1.02 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.464e-06/0.3631, allocations: 0 / 0.8733 GB, free: 1.02 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0003337/0.3634, allocations: 0 / 0.8733 GB, free: 1.02 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.01443/0.3779, allocations: 5.136 MB / 0.8783 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.3779, allocations: 12.03 kB / 0.8783 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00124/0.3792, allocations: 0.6203 MB / 0.8789 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005883/0.3851, allocations: 0.998 MB / 0.8799 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006418/0.3915, allocations: 3.071 MB / 0.8829 GB, free: 7.004 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002452/0.3918, allocations: 312.8 kB / 0.8832 GB, free: 6.695 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001374/0.3932, allocations: 427.8 kB / 0.8836 GB, free: 6.277 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01283/0.406, allocations: 6.788 MB / 0.8903 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001296/0.4062, allocations: 27.77 kB / 0.8903 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000475/0.4067, allocations: 180 kB / 0.8904 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008335/0.4075, allocations: 376 kB / 0.8908 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009136/0.4167, allocations: 5.118 MB / 0.8958 GB, free: 9.48 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4297/0.8464, allocations: 30.49 MB / 0.9256 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/0.8485, allocations: 1.389 MB / 0.9269 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/0.8501, allocations: 1.333 MB / 0.9282 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.8502, allocations: 16.03 kB / 0.9283 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.8502, allocations: 53.56 kB / 0.9283 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=130): time 3.006e-06/0.8503, allocations: 0 / 0.9283 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=199): time 0.0843/0.9346, allocations: 23.07 MB / 0.9508 GB, free: 110.2 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.9346, allocations: 73 kB / 0.9509 GB, free: 110.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002626/0.9373, allocations: 2.066 MB / 0.9529 GB, free: 109.1 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002527/0.9375, allocations: 61.52 kB / 0.953 GB, free: 109 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008982/0.9384, allocations: 2.006 MB / 0.9549 GB, free: 107.2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004609/0.9389, allocations: 0.6754 MB / 0.9556 GB, free: 106.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006447/0.9396, allocations: 409.5 kB / 0.956 GB, free: 106.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.204e-05/0.9396, allocations: 306.4 kB / 0.9563 GB, free: 106.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001597/0.9412, allocations: 1.433 MB / 0.9577 GB, free: 105.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/0.943, allocations: 2.015 MB / 0.9597 GB, free: 103.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003524/0.9465, allocations: 3.695 MB / 0.9633 GB, free: 101.4 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.484e-05/0.9466, allocations: 5.25 kB / 0.9633 GB, free: 101.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009077/0.9556, allocations: 5.662 MB / 0.9688 GB, free: 98.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.9557, allocations: 12.25 kB / 0.9688 GB, free: 98.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/0.9557, allocations: 20.02 kB / 0.9688 GB, free: 98.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005789/0.9615, allocations: 2.088 MB / 0.9709 GB, free: 97.06 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.9629, allocations: 376.3 kB / 0.9712 GB, free: 96.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02827/0.9912, allocations: 38.43 MB / 1.009 GB, free: 57.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003121/0.9943, allocations: 127.9 kB / 1.009 GB, free: 57.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004811/0.9949, allocations: 95.94 kB / 1.009 GB, free: 57.3 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.003934/0.9988, allocations: 1.5 MB / 1.01 GB, free: 55.79 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/0.9999, allocations: 285.5 kB / 1.011 GB, free: 55.51 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0138/1.014, allocations: 5.219 MB / 1.016 GB, free: 50.21 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-05/1.014, allocations: 23.94 kB / 1.016 GB, free: 50.19 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.159e-05/1.014, allocations: 16 kB / 1.016 GB, free: 50.17 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.244e-05/1.014, allocations: 7.969 kB / 1.016 GB, free: 50.16 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02771/1.042, allocations: 9.678 MB / 1.025 GB, free: 40.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-05/1.042, allocations: 8 kB / 1.025 GB, free: 40.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/1.043, allocations: 215.6 kB / 1.026 GB, free: 40.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01017/1.053, allocations: 1.847 MB / 1.027 GB, free: 38.21 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003506/1.054, allocations: 40 kB / 1.027 GB, free: 38.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04701/1.101, allocations: 37.42 MB / 1.064 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.882e-05/1.101, allocations: 15.88 kB / 1.064 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01608/1.117, allocations: 4.913 MB / 1.069 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002399/1.119, allocations: 0.6108 MB / 1.069 GB, free: 8.574 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000652/1.12, allocations: 43.98 kB / 1.069 GB, free: 8.531 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001755/1.122, allocations: 127.8 kB / 1.069 GB, free: 8.406 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007415/1.123, allocations: 193.5 kB / 1.07 GB, free: 8.219 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001914/1.123, allocations: 57.36 kB / 1.07 GB, free: 8.164 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002399/1.125, allocations: 1.382 MB / 1.071 GB, free: 6.773 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.713e-06/1.125, allocations: 0 / 1.071 GB, free: 6.773 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004093/1.129, allocations: 1.051 MB / 1.072 GB, free: 5.723 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.009352/1.139, allocations: 5.535 MB / 1.077 GB, free: 24 kB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00983/1.149, allocations: 6.292 MB / 1.084 GB, free: 9.52 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/1.149, allocations: 0 / 1.084 GB, free: 9.52 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.007204/1.156, allocations: 4.404 MB / 1.088 GB, free: 4.902 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006027/1.162, allocations: 0.9992 MB / 1.089 GB, free: 3.965 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05466/1.217, allocations: 30.63 MB / 1.119 GB, free: 4.332 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0042/1.221, allocations: 3.127 MB / 1.122 GB, free: 1.172 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001723/1.223, allocations: 0.5198 MB / 1.122 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001876/1.224, allocations: 1.679 MB / 1.124 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of SimCode: time 7.62e-07/1.224, allocations: 0 / 1.124 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1612/1.386, allocations: 87.02 MB / 1.209 GB, free: 9.109 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.43/15.82, allocations: 1.5 kB / 1.209 GB, free: 9.109 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)