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_RL.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_RL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.372/1.372, allocations: 249.5 MB / 257 MB, free: 6.859 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.0009675/0.0009674, allocations: 175.6 kB / 316.3 MB, free: 3.301 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.355/1.355, allocations: 205.3 MB / 0.5671 GB, free: 15.93 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.0007719/0.0007719, allocations: 96.39 kB / 0.6714 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.071e-05/2.06e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1638, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6623/0.8261, allocations: 159.5 MB / 1.041 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.8264, allocations: 95.19 kB / 1.041 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.3059/1.132, allocations: 127.8 MB / 1.166 GB, free: 5.406 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.234e-06/1.132, allocations: 0 / 1.166 GB, free: 5.406 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002164/1.133, allocations: 83.98 kB / 1.166 GB, free: 5.324 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.008364/1.141, allocations: 2.882 MB / 1.169 GB, free: 2.387 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/1.141, allocations: 12.03 kB / 1.169 GB, free: 2.375 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006541/1.148, allocations: 0.9748 MB / 1.17 GB, free: 1.395 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005007/1.153, allocations: 2.256 MB / 1.172 GB, free: 15.08 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/1.153, allocations: 104 kB / 1.172 GB, free: 14.98 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001252/1.154, allocations: 184 kB / 1.172 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007796/1.162, allocations: 3.641 MB / 1.176 GB, free: 11.15 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01153/1.174, allocations: 5.15 MB / 1.181 GB, free: 5.668 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.324e-05/1.174, allocations: 11.94 kB / 1.181 GB, free: 5.656 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004295/1.174, allocations: 8 kB / 1.181 GB, free: 5.648 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006073/1.175, allocations: 330.2 kB / 1.181 GB, free: 5.32 MB / 0.7917 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.03062/1.205, allocations: 28.36 MB / 1.209 GB, free: 6.266 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/1.207, allocations: 1.411 MB / 1.21 GB, free: 4.844 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/1.209, allocations: 1.458 MB / 1.212 GB, free: 3.387 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.699e-05/1.209, allocations: 21.28 kB / 1.212 GB, free: 3.367 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/1.209, allocations: 43.88 kB / 1.212 GB, free: 3.316 MB / 0.823 GB Notification: Performance of pre-optimization done (n=110): time 3.546e-06/1.209, allocations: 0 / 1.212 GB, free: 3.316 MB / 0.823 GB Notification: Performance of matching and sorting (n=179): time 0.03345/1.242, allocations: 13.57 MB / 1.225 GB, free: 5.727 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/1.242, allocations: 73.41 kB / 1.225 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/1.244, allocations: 1.035 MB / 1.226 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.000211/1.244, allocations: 25.7 kB / 1.226 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008946/1.245, allocations: 1.538 MB / 1.228 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005317/1.246, allocations: 0.5812 MB / 1.228 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/1.246, allocations: 0 / 1.228 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.246, allocations: 381.9 kB / 1.229 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002124/1.248, allocations: 1.757 MB / 1.23 GB, free: 296 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002514/1.251, allocations: 2.244 MB / 1.233 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003551/1.254, allocations: 2.277 MB / 1.235 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/1.254, allocations: 4 kB / 1.235 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01364/1.268, allocations: 7.411 MB / 1.242 GB, free: 4.105 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.727e-05/1.268, allocations: 12 kB / 1.242 GB, free: 4.094 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.824e-05/1.268, allocations: 16 kB / 1.242 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01153/1.28, allocations: 4.067 MB / 1.246 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/1.281, allocations: 291.4 kB / 1.246 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5057/1.787, allocations: 19.69 MB / 1.266 GB, free: 238.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/1.789, allocations: 102.4 kB / 1.266 GB, free: 238.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004276/1.789, allocations: 178.3 kB / 1.266 GB, free: 238.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 6} * Non-linear torn systems: 3 {12 12,6 12,6 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004403/1.79, allocations: 150.3 kB / 1.266 GB, free: 238.4 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01483/1.805, allocations: 7.048 MB / 1.273 GB, free: 238.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008015/1.805, allocations: 188.9 kB / 1.273 GB, free: 238.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01492/1.82, allocations: 7.412 MB / 1.28 GB, free: 238.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.588e-05/1.82, allocations: 18.39 kB / 1.28 GB, free: 238.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.708e-05/1.82, allocations: 12.28 kB / 1.28 GB, free: 238.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.255e-05/1.82, allocations: 13.86 kB / 1.28 GB, free: 238.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02093/1.841, allocations: 11.38 MB / 1.291 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-05/1.841, allocations: 6.031 kB / 1.291 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007486/1.842, allocations: 169.6 kB / 1.292 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01791/1.86, allocations: 3.978 MB / 1.295 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000528/1.861, allocations: 54.53 kB / 1.295 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03161/1.892, allocations: 19.31 MB / 1.314 GB, free: 232.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.731e-05/1.892, allocations: 11.28 kB / 1.314 GB, free: 232.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01268/1.905, allocations: 7.663 MB / 1.322 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001488/1.907, allocations: 0.698 MB / 1.323 GB, free: 229.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006239/1.907, allocations: 7.375 kB / 1.323 GB, free: 229.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/1.909, allocations: 107.2 kB / 1.323 GB, free: 229.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005308/1.909, allocations: 178 kB / 1.323 GB, free: 229.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002639/1.91, allocations: 152.4 kB / 1.323 GB, free: 229.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009632/1.911, allocations: 0.7801 MB / 1.324 GB, free: 229.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.4e-07/1.911, allocations: 0 / 1.324 GB, free: 229.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003116/1.914, allocations: 0.8369 MB / 1.325 GB, free: 229.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 3 {6 6,6 12,12 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.01435/1.928, allocations: 10.91 MB / 1.335 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.009709/1.938, allocations: 5.669 MB / 1.341 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/1.938, allocations: 2.625 kB / 1.341 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.006457/1.944, allocations: 3.56 MB / 1.344 GB, free: 220.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/1.947, allocations: 412.6 kB / 1.345 GB, free: 220.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/1.957, allocations: 6.502 MB / 1.351 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00215/1.959, allocations: 2.743 MB / 1.354 GB, free: 217.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001027/1.96, allocations: 374.4 kB / 1.354 GB, free: 217.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/1.961, allocations: 1.213 MB / 1.355 GB, free: 216.2 MB / 0.8698 GB Notification: Performance of SimCode: time 6.81e-07/1.961, allocations: 0 / 1.355 GB, free: 216.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0884/2.05, allocations: 71.65 MB / 1.425 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001453/2.05, allocations: 178.9 kB / 1.425 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.496/5.545, allocations: 0 / 1.425 GB, free: 171.7 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)