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.00107/0.00107, 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.001055/0.001055, allocations: 193.2 kB / 16.25 MB, free: 6.625 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.346/1.346, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.658/1.658, 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.001336/0.001336, allocations: 67.84 kB / 0.6711 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2045, allocations: 114.6 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01153/0.2161, allocations: 9.999 MB / 0.7927 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005099/0.2212, allocations: 3.061 MB / 0.7957 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000554/0.2218, allocations: 31.81 kB / 0.7958 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001606/0.2235, allocations: 0.6218 MB / 0.7964 GB, free: 20 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.2248, allocations: 0.6498 MB / 0.797 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.226, allocations: 0.5772 MB / 0.7976 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002386/0.2284, allocations: 2.746 MB / 0.8003 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003548/0.2319, allocations: 3.074 MB / 0.8033 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001325/0.2333, allocations: 1.141 MB / 0.8044 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001533/0.2348, allocations: 1.461 MB / 0.8058 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002497/0.2351, allocations: 220 kB / 0.806 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007872/0.2359, allocations: 495.4 kB / 0.8065 GB, free: 5.613 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008009/0.2367, allocations: 0.9824 MB / 0.8074 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000876/0.2376, allocations: 1.015 MB / 0.8084 GB, free: 3.609 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002847/0.2404, allocations: 3.4 MB / 0.8117 GB, free: 204 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.2404, allocations: 4 kB / 0.8118 GB, free: 200 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2404, allocations: 0 / 0.8118 GB, free: 200 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.12e-05/0.2405, allocations: 0 / 0.8118 GB, free: 200 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.003262/0.2438, allocations: 1.955 MB / 0.8137 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.2438, allocations: 8.031 kB / 0.8137 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000302/0.2441, allocations: 248.7 kB / 0.8139 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005456/0.2496, allocations: 0.8882 MB / 0.8148 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002122/0.2517, allocations: 1.122 MB / 0.8159 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.477e-05/0.2518, allocations: 115.3 kB / 0.816 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002818/0.2521, allocations: 144.3 kB / 0.8161 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004328/0.2565, allocations: 3.021 MB / 0.8191 GB, free: 8.488 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.894e-05/0.2565, allocations: 4 kB / 0.8191 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001732/0.2567, allocations: 59.98 kB / 0.8191 GB, free: 8.426 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001996/0.2569, allocations: 175 kB / 0.8193 GB, free: 8.254 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00369/0.2606, allocations: 2.612 MB / 0.8218 GB, free: 5.637 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.01528/0.2759, allocations: 13.55 MB / 0.8351 GB, free: 6.984 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/0.2777, allocations: 1.295 MB / 0.8363 GB, free: 5.676 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001248/0.279, allocations: 1.054 MB / 0.8374 GB, free: 4.621 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.937e-05/0.279, allocations: 8.656 kB / 0.8374 GB, free: 4.613 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.2791, allocations: 47.22 kB / 0.8374 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 2.625e-06/0.2791, allocations: 0 / 0.8374 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of matching and sorting (n=139): time 0.06947/0.3486, allocations: 19.38 MB / 0.8564 GB, free: 1.027 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.3486, allocations: 68.66 kB / 0.8564 GB, free: 0.9453 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.3499, allocations: 0.9222 MB / 0.8573 GB, free: 16 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001608/0.3501, allocations: 45.7 kB / 0.8574 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005374/0.3506, allocations: 0.7283 MB / 0.8581 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004022/0.351, allocations: 493 kB / 0.8585 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000558/0.3516, allocations: 291.4 kB / 0.8588 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3517, allocations: 349.9 kB / 0.8592 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001883/0.3536, allocations: 1.339 MB / 0.8605 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002228/0.3558, allocations: 1.659 MB / 0.8621 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004238/0.3601, allocations: 3.093 MB / 0.8651 GB, free: 7.77 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-06/0.3601, allocations: 4 kB / 0.8651 GB, free: 7.766 MB / 0.6856 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01189/0.372, allocations: 5.636 MB / 0.8706 GB, free: 2.102 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.3721, allocations: 11.94 kB / 0.8706 GB, free: 2.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/0.3721, allocations: 11.98 kB / 0.8706 GB, free: 2.078 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008771/0.3809, allocations: 2.733 MB / 0.8733 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008299/0.3817, allocations: 187.7 kB / 0.8735 GB, free: 15.15 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03696/0.4187, allocations: 25.74 MB / 0.8986 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.4202, allocations: 100.1 kB / 0.8987 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.4204, allocations: 56 kB / 0.8988 GB, free: 4.695 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.001096/0.4215, allocations: 0.7277 MB / 0.8995 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002382/0.4217, allocations: 122.6 kB / 0.8996 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01057/0.4323, allocations: 5.392 MB / 0.9049 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.4323, allocations: 16 kB / 0.9049 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.369e-05/0.4324, allocations: 16 kB / 0.9049 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.4324, allocations: 7.984 kB / 0.9049 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01481/0.4472, allocations: 8.64 MB / 0.9133 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/0.4473, allocations: 4 kB / 0.9133 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004634/0.4477, allocations: 123.7 kB / 0.9135 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008354/0.4561, allocations: 2.569 MB / 0.916 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001939/0.4563, allocations: 28 kB / 0.916 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3658/0.8221, allocations: 22.98 MB / 0.9384 GB, free: 121.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/0.8222, allocations: 6.844 kB / 0.9385 GB, free: 121.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.011/0.8332, allocations: 5.127 MB / 0.9435 GB, free: 119.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007985/0.834, allocations: 483.5 kB / 0.9439 GB, free: 119.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/0.8342, allocations: 26.72 kB / 0.9439 GB, free: 119.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007968/0.835, allocations: 75.28 kB / 0.944 GB, free: 119.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005542/0.8356, allocations: 128.5 kB / 0.9441 GB, free: 119.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/0.8357, allocations: 37.81 kB / 0.9442 GB, free: 119.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007463/0.8364, allocations: 0.6427 MB / 0.9448 GB, free: 119 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8364, allocations: 3.281 kB / 0.9448 GB, free: 119 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002282/0.8387, allocations: 0.7212 MB / 0.9455 GB, free: 119 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.009648/0.8484, allocations: 5.713 MB / 0.9511 GB, free: 116.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006939/0.8554, allocations: 4.729 MB / 0.9557 GB, free: 115 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.8554, allocations: 1.188 kB / 0.9557 GB, free: 115 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004152/0.8595, allocations: 2.664 MB / 0.9583 GB, free: 113.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.8608, allocations: 223.4 kB / 0.9585 GB, free: 113.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02991/0.8907, allocations: 22.55 MB / 0.9805 GB, free: 95.11 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/0.8918, allocations: 1.7 MB / 0.9822 GB, free: 93.38 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007182/0.8925, allocations: 326.5 kB / 0.9825 GB, free: 93.06 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004867/0.893, allocations: 0.5344 MB / 0.983 GB, free: 92.53 MB / 0.7325 GB Notification: Performance of SimCode: time 1.072e-06/0.893, allocations: 0 / 0.983 GB, free: 92.53 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06616/0.9592, allocations: 51.79 MB / 1.034 GB, free: 41.17 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/0.9594, allocations: 264.4 kB / 1.034 GB, free: 40.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.49/3.449, allocations: 0 / 1.034 GB, free: 40.9 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)