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.404/1.404, allocations: 249.5 MB / 257 MB, free: 6.902 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 180.8 kB / 316.3 MB, free: 3.293 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.481/1.481, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.0008169/0.0008168, allocations: 107.3 kB / 0.6714 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2e-05/2.008e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1642, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.596/0.7603, allocations: 160.8 MB / 1.042 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.7605, allocations: 95.03 kB / 1.042 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1413/0.9019, allocations: 60.13 MB / 1.101 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.735e-06/0.9019, allocations: 0 / 1.101 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.555e-05/0.902, allocations: 36 kB / 1.101 GB, free: 7.461 MB / 0.7136 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.00369/0.9057, allocations: 1.5 MB / 1.103 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/0.9058, allocations: 8.031 kB / 1.103 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002974/0.9088, allocations: 471.6 kB / 1.103 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002024/0.9108, allocations: 1.148 MB / 1.104 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.534e-05/0.9109, allocations: 52 kB / 1.104 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002382/0.9111, allocations: 80 kB / 1.104 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003036/0.9142, allocations: 1.966 MB / 1.106 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003819/0.918, allocations: 2.544 MB / 1.109 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.491e-05/0.9181, allocations: 4 kB / 1.109 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/0.9182, allocations: 8 kB / 1.109 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000443/0.9187, allocations: 154.9 kB / 1.109 GB, free: 440 kB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.01712/0.9358, allocations: 13.75 MB / 1.122 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001875/0.9377, allocations: 1.29 MB / 1.124 GB, free: 292 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.9391, allocations: 1.074 MB / 1.125 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.872e-05/0.9392, allocations: 12.77 kB / 1.125 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.9392, allocations: 43.34 kB / 1.125 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=82): time 2.846e-06/0.9392, allocations: 3.938 kB / 1.125 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=139): time 0.02412/0.9634, allocations: 9.002 MB / 1.134 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.9635, allocations: 68.72 kB / 1.134 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.9646, allocations: 0.8784 MB / 1.134 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.000135/0.9648, allocations: 25.7 kB / 1.134 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004557/0.9652, allocations: 0.7244 MB / 1.135 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004246/0.9657, allocations: 469 kB / 1.136 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.9658, allocations: 0 / 1.136 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000213/0.966, allocations: 410.7 kB / 1.136 GB, free: 3.512 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001878/0.9679, allocations: 1.429 MB / 1.137 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002072/0.97, allocations: 1.718 MB / 1.139 GB, free: 264 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003856/0.9739, allocations: 1.993 MB / 1.141 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.9739, allocations: 4 kB / 1.141 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.01116/0.9851, allocations: 5.574 MB / 1.146 GB, free: 8.66 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.921e-05/0.9852, allocations: 8 kB / 1.147 GB, free: 8.652 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.774e-05/0.9852, allocations: 8 kB / 1.147 GB, free: 8.645 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007682/0.9929, allocations: 2.696 MB / 1.149 GB, free: 5.938 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009668/0.9939, allocations: 215.6 kB / 1.149 GB, free: 5.727 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02131/1.015, allocations: 15.21 MB / 1.164 GB, free: 6.227 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/1.017, allocations: 67.86 kB / 1.164 GB, free: 6.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003045/1.017, allocations: 167.9 kB / 1.164 GB, free: 5.996 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 92 * 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: 2 {(6,100.0%) 12,(6,100.0%) 24} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.0003584/1.017, allocations: 132.7 kB / 1.165 GB, free: 5.859 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009198/1.027, allocations: 4.784 MB / 1.169 GB, free: 1.051 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003295/1.027, allocations: 114.6 kB / 1.169 GB, free: 0.9375 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009931/1.037, allocations: 5.05 MB / 1.174 GB, free: 11.86 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.199e-05/1.037, allocations: 12 kB / 1.174 GB, free: 11.85 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/1.037, allocations: 8 kB / 1.174 GB, free: 11.84 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.942e-05/1.037, allocations: 11.97 kB / 1.174 GB, free: 11.83 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01471/1.052, allocations: 8.155 MB / 1.182 GB, free: 3.562 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/1.052, allocations: 4 kB / 1.182 GB, free: 3.559 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004648/1.052, allocations: 123.8 kB / 1.182 GB, free: 3.438 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007015/1.059, allocations: 2.522 MB / 1.185 GB, free: 0.9023 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001861/1.059, allocations: 39.94 kB / 1.185 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01824/1.078, allocations: 12.81 MB / 1.197 GB, free: 3.758 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/1.078, allocations: 8 kB / 1.197 GB, free: 3.75 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009164/1.087, allocations: 4.955 MB / 1.202 GB, free: 14.62 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/1.088, allocations: 0.5971 MB / 1.203 GB, free: 14.01 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002556/1.088, allocations: 4 kB / 1.203 GB, free: 14 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008758/1.089, allocations: 55.86 kB / 1.203 GB, free: 13.95 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003448/1.09, allocations: 141 kB / 1.203 GB, free: 13.81 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001963/1.09, allocations: 112.1 kB / 1.203 GB, free: 13.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0008351/1.091, allocations: 0.6631 MB / 1.204 GB, free: 13.05 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.71e-07/1.091, allocations: 3.938 kB / 1.204 GB, free: 13.04 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001882/1.093, allocations: 0.5234 MB / 1.204 GB, free: 12.52 MB / 0.823 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 () * 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: 2 {(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.009826/1.102, allocations: 6.667 MB / 1.211 GB, free: 5.699 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.006681/1.109, allocations: 3.899 MB / 1.215 GB, free: 1.777 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/1.109, allocations: 384 / 1.215 GB, free: 1.777 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.004887/1.114, allocations: 2.285 MB / 1.217 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/1.115, allocations: 163.1 kB / 1.217 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00634/1.122, allocations: 3.681 MB / 1.221 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001464/1.123, allocations: 1.697 MB / 1.222 GB, free: 9.805 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0009875/1.124, allocations: 405 kB / 1.223 GB, free: 9.406 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007028/1.125, allocations: 0.55 MB / 1.223 GB, free: 8.855 MB / 0.8386 GB Notification: Performance of SimCode: time 6.91e-07/1.125, allocations: 0 / 1.223 GB, free: 8.855 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4783/1.603, allocations: 50.52 MB / 1.273 GB, free: 278.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/1.603, allocations: 187.7 kB / 1.273 GB, free: 278.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.685/4.288, allocations: 0 / 1.273 GB, free: 278.3 MB / 0.8698 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)