Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.ACLineMatrix_RLC,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.001373/0.001374, allocations: 108 kB / 15.6 MB, free: 132 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.001252/0.001252, allocations: 198.5 kB / 16.53 MB, free: 6.391 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.421/1.421, allocations: 205.1 MB / 222.4 MB, free: 4.379 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.769/1.769, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001597/0.001597, allocations: 69.45 kB / 0.6716 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1916, allocations: 114.5 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01171/0.2034, allocations: 10.02 MB / 0.7933 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005022/0.2084, allocations: 3.085 MB / 0.7963 GB, free: 208 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006192/0.2091, allocations: 31.88 kB / 0.7963 GB, free: 176 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001815/0.2109, allocations: 0.6804 MB / 0.797 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001474/0.2124, allocations: 0.6922 MB / 0.7977 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.2138, allocations: 0.6427 MB / 0.7983 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002655/0.2164, allocations: 2.73 MB / 0.801 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003107/0.2195, allocations: 2.554 MB / 0.8034 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001643/0.2212, allocations: 1.133 MB / 0.8046 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002145/0.2234, allocations: 1.375 MB / 0.8059 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0005392/0.2239, allocations: 216 kB / 0.8061 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00133/0.2253, allocations: 491.3 kB / 0.8066 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001112/0.2264, allocations: 0.9746 MB / 0.8075 GB, free: 4.633 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001332/0.2277, allocations: 1.015 MB / 0.8085 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004216/0.232, allocations: 3.4 MB / 0.8118 GB, free: 208 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.232, allocations: 0 / 0.8118 GB, free: 208 kB / 0.6231 GB Notification: Performance of FrontEnd: time 2.435e-06/0.232, allocations: 4 kB / 0.8118 GB, free: 204 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001033/0.2321, allocations: 0 / 0.8118 GB, free: 204 kB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.00424/0.2364, allocations: 1.938 MB / 0.8137 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.2365, allocations: 8.031 kB / 0.8137 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003563/0.2368, allocations: 256.7 kB / 0.814 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005877/0.2427, allocations: 0.8843 MB / 0.8148 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002059/0.2448, allocations: 1.122 MB / 0.8159 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.985e-05/0.2449, allocations: 111.3 kB / 0.8161 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000305/0.2452, allocations: 144.3 kB / 0.8162 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004549/0.2498, allocations: 3.021 MB / 0.8191 GB, free: 8.516 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.041e-05/0.2498, allocations: 7.938 kB / 0.8191 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000186/0.25, allocations: 55.98 kB / 0.8192 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002187/0.2502, allocations: 178.9 kB / 0.8194 GB, free: 8.277 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004149/0.2544, allocations: 2.604 MB / 0.8219 GB, free: 5.668 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01619/0.2706, allocations: 13.57 MB / 0.8352 GB, free: 7.004 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001872/0.2725, allocations: 1.295 MB / 0.8364 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001369/0.2739, allocations: 1.054 MB / 0.8375 GB, free: 4.637 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.352e-05/0.274, allocations: 8.656 kB / 0.8375 GB, free: 4.629 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.274, allocations: 47.2 kB / 0.8375 GB, free: 4.574 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 3.156e-06/0.274, allocations: 4 kB / 0.8375 GB, free: 4.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=139): time 0.07688/0.3509, allocations: 19.37 MB / 0.8564 GB, free: 1.051 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.351, allocations: 64.72 kB / 0.8565 GB, free: 0.9727 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.3521, allocations: 0.9221 MB / 0.8574 GB, free: 44 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001903/0.3523, allocations: 53.78 kB / 0.8574 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004065/0.3527, allocations: 0.7321 MB / 0.8582 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003825/0.3531, allocations: 489 kB / 0.8586 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005352/0.3537, allocations: 287.5 kB / 0.8589 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.3538, allocations: 353.9 kB / 0.8592 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001794/0.3556, allocations: 1.335 MB / 0.8605 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001956/0.3576, allocations: 1.662 MB / 0.8622 GB, free: 11 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003868/0.3614, allocations: 3.093 MB / 0.8652 GB, free: 7.789 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.3615, allocations: 0 / 0.8652 GB, free: 7.789 MB / 0.6856 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01145/0.3729, allocations: 5.64 MB / 0.8707 GB, free: 2.121 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/0.373, allocations: 11.94 kB / 0.8707 GB, free: 2.109 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/0.373, allocations: 8 kB / 0.8707 GB, free: 2.102 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008634/0.3816, allocations: 2.742 MB / 0.8734 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008518/0.3825, allocations: 191.7 kB / 0.8736 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03505/0.4176, allocations: 25.74 MB / 0.8987 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.4191, allocations: 95.95 kB / 0.8988 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/0.4193, allocations: 56 kB / 0.8989 GB, free: 4.711 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001057/0.4203, allocations: 0.7316 MB / 0.8996 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002436/0.4206, allocations: 114.6 kB / 0.8997 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01106/0.4316, allocations: 5.392 MB / 0.9049 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.791e-05/0.4317, allocations: 20 kB / 0.905 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.219e-05/0.4317, allocations: 16 kB / 0.905 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.198e-05/0.4318, allocations: 15.95 kB / 0.905 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01548/0.4473, allocations: 8.629 MB / 0.9134 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/0.4473, allocations: 4 kB / 0.9134 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004713/0.4478, allocations: 115.9 kB / 0.9135 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008219/0.456, allocations: 2.573 MB / 0.916 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001668/0.4562, allocations: 24 kB / 0.9161 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4135/0.8697, allocations: 22.99 MB / 0.9385 GB, free: 120.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.868e-06/0.8697, allocations: 11.84 kB / 0.9385 GB, free: 120.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01134/0.8811, allocations: 5.127 MB / 0.9435 GB, free: 119.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008234/0.8819, allocations: 478.6 kB / 0.944 GB, free: 118.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/0.8822, allocations: 31.66 kB / 0.944 GB, free: 118.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009434/0.8831, allocations: 76.47 kB / 0.9441 GB, free: 118.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005274/0.8837, allocations: 119.8 kB / 0.9442 GB, free: 118.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-05/0.8838, allocations: 40.03 kB / 0.9442 GB, free: 118.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007097/0.8845, allocations: 0.6419 MB / 0.9449 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8845, allocations: 0 / 0.9449 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002145/0.8866, allocations: 0.721 MB / 0.9456 GB, free: 118.5 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01003/0.8967, allocations: 5.723 MB / 0.9512 GB, free: 116.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0079/0.9046, allocations: 4.731 MB / 0.9558 GB, free: 114.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.9047, allocations: 1.438 kB / 0.9558 GB, free: 114.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004698/0.9094, allocations: 2.665 MB / 0.9584 GB, free: 113.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.9107, allocations: 218.8 kB / 0.9586 GB, free: 113.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02967/0.9404, allocations: 21.83 MB / 0.9799 GB, free: 95.73 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/0.9414, allocations: 1.704 MB / 0.9816 GB, free: 93.99 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006785/0.9421, allocations: 326 kB / 0.9819 GB, free: 93.67 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004831/0.9426, allocations: 0.5344 MB / 0.9824 GB, free: 93.14 MB / 0.7325 GB Notification: Performance of SimCode: time 7.32e-07/0.9426, allocations: 0 / 0.9824 GB, free: 93.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06939/1.012, allocations: 51.38 MB / 1.033 GB, free: 42.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.94/15.96, allocations: 14.17 kB / 1.033 GB, free: 42.13 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)