Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.489/1.489, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009545/0.0009546, allocations: 173.9 kB / 325.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205 MB / 0.576 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006778/0.0006778, allocations: 98.77 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002834/0.0002835, allocations: 12.28 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1639, allocations: 105.4 MB / 0.8962 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.007519/0.1715, allocations: 9.662 MB / 0.9056 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003662/0.1751, allocations: 3.096 MB / 0.9087 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004281/0.1756, allocations: 31.81 kB / 0.9087 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.1769, allocations: 0.625 MB / 0.9093 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0009551/0.1779, allocations: 0.6576 MB / 0.91 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.1789, allocations: 0.5849 MB / 0.9105 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002213/0.1811, allocations: 4.052 MB / 0.9145 GB, free: 49.26 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002721/0.1839, allocations: 2.793 MB / 0.9172 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.1849, allocations: 0.8638 MB / 0.9181 GB, free: 45.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/0.186, allocations: 1.273 MB / 0.9193 GB, free: 44.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001603/0.1862, allocations: 100 kB / 0.9194 GB, free: 44.19 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007144/0.1869, allocations: 455.2 kB / 0.9198 GB, free: 43.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0005085/0.1874, allocations: 0.834 MB / 0.9206 GB, free: 42.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000572/0.188, allocations: 0.8474 MB / 0.9215 GB, free: 42.06 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001755/0.1898, allocations: 3.263 MB / 0.9247 GB, free: 38.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1898, allocations: 0 / 0.9247 GB, free: 38.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1898, allocations: 4 kB / 0.9247 GB, free: 38.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.562e-05/0.1898, allocations: 0 / 0.9247 GB, free: 38.78 MB / 0.6042 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.002189/0.192, allocations: 1.593 MB / 0.9262 GB, free: 37.13 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.1921, allocations: 12.03 kB / 0.9262 GB, free: 37.12 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002372/0.1923, allocations: 252.7 kB / 0.9265 GB, free: 36.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004977/0.1973, allocations: 0.8844 MB / 0.9273 GB, free: 35.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/0.1989, allocations: 1.122 MB / 0.9284 GB, free: 34.81 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.285e-05/0.1989, allocations: 111.3 kB / 0.9285 GB, free: 34.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002048/0.1991, allocations: 140.3 kB / 0.9287 GB, free: 34.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003436/0.2026, allocations: 3.017 MB / 0.9316 GB, free: 31.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.44e-05/0.2026, allocations: 4 kB / 0.9316 GB, free: 31.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001736/0.2028, allocations: 63.97 kB / 0.9317 GB, free: 31.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001542/0.203, allocations: 179 kB / 0.9318 GB, free: 31.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00309/0.2061, allocations: 2.611 MB / 0.9344 GB, free: 28.59 MB / 0.6042 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.01114/0.2172, allocations: 13.52 MB / 0.9476 GB, free: 13.97 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.2187, allocations: 1.299 MB / 0.9489 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/0.2197, allocations: 1.047 MB / 0.9499 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.721e-05/0.2198, allocations: 8.656 kB / 0.9499 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.2198, allocations: 39.22 kB / 0.9499 GB, free: 11.56 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=82): time 3.316e-06/0.2198, allocations: 3.984 kB / 0.9499 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=139): time 0.06318/0.283, allocations: 19.47 MB / 0.969 GB, free: 7.938 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.2831, allocations: 68.7 kB / 0.969 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.2842, allocations: 0.9221 MB / 0.9699 GB, free: 6.918 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001347/0.2844, allocations: 49.64 kB / 0.97 GB, free: 6.863 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004158/0.2848, allocations: 0.7361 MB / 0.9707 GB, free: 6.113 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003621/0.2851, allocations: 485 kB / 0.9711 GB, free: 5.633 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.2853, allocations: 121.7 kB / 0.9713 GB, free: 5.508 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.2855, allocations: 357.9 kB / 0.9716 GB, free: 5.152 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001708/0.2872, allocations: 1.335 MB / 0.9729 GB, free: 3.816 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001895/0.2891, allocations: 1.659 MB / 0.9745 GB, free: 2.047 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003554/0.2927, allocations: 3.089 MB / 0.9775 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.2927, allocations: 4 kB / 0.9775 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.0107/0.3034, allocations: 5.642 MB / 0.9831 GB, free: 9.164 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.3034, allocations: 11.94 kB / 0.9831 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.3035, allocations: 8 kB / 0.9831 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008303/0.3118, allocations: 2.71 MB / 0.9857 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007453/0.3125, allocations: 195.7 kB / 0.9859 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02969/0.3422, allocations: 23.32 MB / 1.009 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/0.3436, allocations: 95.95 kB / 1.009 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.3438, allocations: 56 kB / 1.009 GB, free: 14.22 MB / 0.6667 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.001095/0.3449, allocations: 0.7277 MB / 1.01 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/0.3451, allocations: 122.6 kB / 1.01 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0115/0.3566, allocations: 5.392 MB / 1.015 GB, free: 7.934 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.3566, allocations: 19.94 kB / 1.015 GB, free: 7.914 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.634e-05/0.3567, allocations: 16 kB / 1.015 GB, free: 7.898 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/0.3567, allocations: 11.97 kB / 1.015 GB, free: 7.887 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01516/0.3718, allocations: 8.617 MB / 1.023 GB, free: 15.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.3719, allocations: 4.469 kB / 1.023 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004242/0.3723, allocations: 119.8 kB / 1.024 GB, free: 15.03 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008025/0.3804, allocations: 2.542 MB / 1.026 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001298/0.3805, allocations: 28 kB / 1.026 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02942/0.4099, allocations: 20.88 MB / 1.046 GB, free: 7.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/0.41, allocations: 4 kB / 1.046 GB, free: 7.016 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0105/0.4205, allocations: 5.138 MB / 1.051 GB, free: 1.797 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008297/0.4214, allocations: 483.5 kB / 1.052 GB, free: 1.305 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001885/0.4216, allocations: 24 kB / 1.052 GB, free: 1.281 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007768/0.4223, allocations: 75.89 kB / 1.052 GB, free: 1.207 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005622/0.4229, allocations: 125 kB / 1.052 GB, free: 1.082 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.975e-05/0.423, allocations: 36 kB / 1.052 GB, free: 1.047 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007268/0.4238, allocations: 0.6473 MB / 1.053 GB, free: 408 kB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4238, allocations: 0 / 1.053 GB, free: 408 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.3257/0.7495, allocations: 0.712 MB / 1.053 GB, free: 144.3 MB / 0.698 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.009754/0.7593, allocations: 5.702 MB / 1.059 GB, free: 143.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007561/0.7669, allocations: 4.155 MB / 1.063 GB, free: 142.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.7669, allocations: 0.5625 kB / 1.063 GB, free: 142.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005771/0.7727, allocations: 2.669 MB / 1.066 GB, free: 142.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/0.7746, allocations: 204 kB / 1.066 GB, free: 142.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03601/0.8106, allocations: 22.53 MB / 1.088 GB, free: 133.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001251/0.8119, allocations: 1.707 MB / 1.09 GB, free: 133 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007781/0.8127, allocations: 325.9 kB / 1.09 GB, free: 133 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004959/0.8132, allocations: 0.5317 MB / 1.09 GB, free: 132.5 MB / 0.698 GB Notification: Performance of SimCode: time 8.61e-07/0.8132, allocations: 0 / 1.09 GB, free: 132.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1805/0.9938, allocations: 48.82 MB / 1.138 GB, free: 85.12 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/0.994, allocations: 271.2 kB / 1.138 GB, free: 84.75 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.062/4.056, allocations: 8 kB / 1.138 GB, free: 84.75 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)