Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.741/1.741, allocations: 288.2 MB / 303.2 MB, free: 8.129 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001276/0.001276, allocations: 177 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.638/1.638, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009053/0.0009058, allocations: 105.3 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000585/0.000585, allocations: 15.88 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2928, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.0113/0.3041, allocations: 8.728 MB / 0.988 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006381/0.3106, allocations: 2.942 MB / 0.9909 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.3117, allocations: 31.81 kB / 0.9909 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005988/0.3123, allocations: 178.9 kB / 0.9911 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001869/0.3142, allocations: 474.6 kB / 0.9915 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.3159, allocations: 444.9 kB / 0.992 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00237/0.3183, allocations: 1.293 MB / 0.9932 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00457/0.3229, allocations: 2.669 MB / 0.9958 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.3245, allocations: 0.7243 MB / 0.9965 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/0.3257, allocations: 0.8802 MB / 0.9974 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002045/0.3259, allocations: 100 kB / 0.9975 GB, free: 9.082 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007765/0.3267, allocations: 211.8 kB / 0.9977 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000786/0.3275, allocations: 0.7718 MB / 0.9984 GB, free: 8.102 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004205/0.3279, allocations: 356.8 kB / 0.9988 GB, free: 7.746 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002482/0.3304, allocations: 2.747 MB / 1.001 GB, free: 4.992 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3304, allocations: 4 kB / 1.001 GB, free: 4.988 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.905e-06/0.3304, allocations: 0 / 1.001 GB, free: 4.988 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.336e-05/0.3305, allocations: 3.938 kB / 1.001 GB, free: 4.984 MB / 0.6198 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.003844/0.3344, allocations: 1.604 MB / 1.003 GB, free: 3.324 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.3344, allocations: 8.031 kB / 1.003 GB, free: 3.316 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004381/0.3349, allocations: 248.5 kB / 1.003 GB, free: 3.062 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008122/0.343, allocations: 0.9536 MB / 1.004 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003531/0.3466, allocations: 1.094 MB / 1.005 GB, free: 0.9688 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.869e-05/0.3467, allocations: 114.9 kB / 1.005 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003798/0.3471, allocations: 144 kB / 1.006 GB, free: 0.7148 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006953/0.3541, allocations: 2.986 MB / 1.008 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.322e-05/0.3541, allocations: 7.844 kB / 1.008 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002609/0.3544, allocations: 63.97 kB / 1.009 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003295/0.3548, allocations: 179 kB / 1.009 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006206/0.361, allocations: 2.596 MB / 1.011 GB, free: 10.78 MB / 0.6355 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.02466/0.3857, allocations: 13.53 MB / 1.024 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003144/0.3889, allocations: 1.297 MB / 1.026 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-05/0.389, allocations: 8.656 kB / 1.026 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.688e-05/0.389, allocations: 43.16 kB / 1.026 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=82): time 4.959e-06/0.3891, allocations: 0 / 1.026 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of matching and sorting (n=139): time 0.1003/0.4893, allocations: 19.43 MB / 1.045 GB, free: 7.219 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.4895, allocations: 68.72 kB / 1.045 GB, free: 7.141 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/0.491, allocations: 0.9144 MB / 1.046 GB, free: 6.211 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002502/0.4913, allocations: 45.7 kB / 1.046 GB, free: 6.16 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005807/0.4919, allocations: 0.7283 MB / 1.046 GB, free: 5.418 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004639/0.4923, allocations: 489 kB / 1.047 GB, free: 4.934 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.4925, allocations: 28 kB / 1.047 GB, free: 4.906 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002183/0.4927, allocations: 422.7 kB / 1.047 GB, free: 4.484 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001839/0.4945, allocations: 1.327 MB / 1.049 GB, free: 3.156 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002019/0.4966, allocations: 1.651 MB / 1.05 GB, free: 1.391 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002041/0.4986, allocations: 1.548 MB / 1.052 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.156e-06/0.4986, allocations: 4 kB / 1.052 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01182/0.5105, allocations: 5.627 MB / 1.057 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.537e-05/0.5106, allocations: 16.09 kB / 1.057 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.505e-05/0.5106, allocations: 8 kB / 1.057 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01382/0.5244, allocations: 2.71 MB / 1.06 GB, free: 7.441 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.5258, allocations: 203.6 kB / 1.06 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6935/1.219, allocations: 24.31 MB / 1.084 GB, free: 76.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/1.221, allocations: 94.03 kB / 1.084 GB, free: 76.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000353/1.222, allocations: 60.16 kB / 1.084 GB, free: 76.04 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,100.0%) 12,(6,100.0%) 12,(6,100.0%) 24,(6,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001717/1.223, allocations: 0.7272 MB / 1.085 GB, free: 75.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003884/1.224, allocations: 119 kB / 1.085 GB, free: 75.65 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01411/1.238, allocations: 5.375 MB / 1.09 GB, free: 73.93 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.059e-05/1.238, allocations: 18.17 kB / 1.09 GB, free: 73.93 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.656e-05/1.238, allocations: 18.34 kB / 1.09 GB, free: 73.93 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.443e-05/1.238, allocations: 14.62 kB / 1.09 GB, free: 73.93 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01839/1.257, allocations: 8.604 MB / 1.099 GB, free: 70.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.721e-05/1.257, allocations: 3.625 kB / 1.099 GB, free: 70.97 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005606/1.257, allocations: 125.5 kB / 1.099 GB, free: 70.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007862/1.265, allocations: 2.528 MB / 1.101 GB, free: 70.49 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002528/1.265, allocations: 29.25 kB / 1.101 GB, free: 70.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03166/1.297, allocations: 21.8 MB / 1.122 GB, free: 56.13 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.297, allocations: 3.938 kB / 1.122 GB, free: 56.13 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009792/1.307, allocations: 5.292 MB / 1.128 GB, free: 52.93 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/1.308, allocations: 485.3 kB / 1.128 GB, free: 52.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003249/1.308, allocations: 27.28 kB / 1.128 GB, free: 52.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/1.31, allocations: 78.33 kB / 1.128 GB, free: 52.55 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005574/1.31, allocations: 123.1 kB / 1.128 GB, free: 52.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/1.31, allocations: 36 kB / 1.128 GB, free: 52.44 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008437/1.311, allocations: 0.6395 MB / 1.129 GB, free: 51.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.5e-07/1.311, allocations: 0 / 1.129 GB, free: 51.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002756/1.314, allocations: 0.7148 MB / 1.13 GB, free: 51.09 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,100.0%) 12,(6,100.0%) 24,(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009861/1.324, allocations: 6.894 MB / 1.136 GB, free: 44.05 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006658/1.33, allocations: 4.137 MB / 1.14 GB, free: 39.86 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.331, allocations: 4 kB / 1.14 GB, free: 39.86 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00471/1.335, allocations: 2.664 MB / 1.143 GB, free: 37.15 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/1.336, allocations: 197.2 kB / 1.143 GB, free: 36.97 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02631/1.363, allocations: 20.13 MB / 1.163 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001975/1.365, allocations: 1.736 MB / 1.165 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008976/1.366, allocations: 330 kB / 1.165 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006911/1.367, allocations: 0.5344 MB / 1.165 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of SimCode: time 1.383e-06/1.367, allocations: 0 / 1.165 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08919/1.456, allocations: 48.83 MB / 1.213 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002259/1.456, allocations: 258.2 kB / 1.213 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.061/4.517, allocations: 0 / 1.213 GB, free: 13.06 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)