Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.73/1.73, allocations: 289.9 MB / 297.4 MB, free: 6.395 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.001193/0.001193, allocations: 176.8 kB / 366.7 MB, free: 1.656 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.702/1.702, allocations: 205.3 MB / 0.626 GB, free: 7.164 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00081/0.0008102, allocations: 89.75 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.714e-05/2.724e-05, allocations: 11.98 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6718/0.6719, allocations: 116.3 MB / 0.9734 GB, free: 76.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.214/0.8859, allocations: 166.8 MB / 1.136 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/0.8863, allocations: 92.47 kB / 1.136 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.936/1.822, allocations: 164.2 MB / 1.297 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.683e-06/1.822, allocations: 0 / 1.297 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002394/1.823, allocations: 92.3 kB / 1.297 GB, free: 186.1 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01305/1.836, allocations: 3.34 MB / 1.3 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/1.836, allocations: 8.969 kB / 1.3 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007987/1.844, allocations: 1.034 MB / 1.301 GB, free: 184.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007253/1.851, allocations: 2.632 MB / 1.304 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002229/1.851, allocations: 117.8 kB / 1.304 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001591/1.853, allocations: 206.4 kB / 1.304 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01029/1.863, allocations: 4.413 MB / 1.308 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01323/1.876, allocations: 6.094 MB / 1.314 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.183e-05/1.877, allocations: 15.03 kB / 1.314 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004163/1.877, allocations: 9.812 kB / 1.314 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007571/1.878, allocations: 383.6 kB / 1.315 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03374/1.911, allocations: 31.35 MB / 1.345 GB, free: 160.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002402/1.914, allocations: 2.099 MB / 1.347 GB, free: 159.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002308/1.916, allocations: 2.16 MB / 1.349 GB, free: 158.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.07e-05/1.916, allocations: 24.8 kB / 1.349 GB, free: 158.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/1.916, allocations: 59.16 kB / 1.349 GB, free: 158.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=146): time 3.828e-06/1.916, allocations: 0 / 1.349 GB, free: 158.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=251): time 0.05653/1.973, allocations: 21.94 MB / 1.371 GB, free: 153 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/1.973, allocations: 79.92 kB / 1.371 GB, free: 152.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002401/1.975, allocations: 1.245 MB / 1.372 GB, free: 152.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0007661/1.976, allocations: 29.7 kB / 1.372 GB, free: 152.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009168/1.977, allocations: 1.725 MB / 1.374 GB, free: 151.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009245/1.978, allocations: 0.8227 MB / 1.375 GB, free: 150.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002549/1.978, allocations: 0 / 1.375 GB, free: 150.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001123/1.979, allocations: 409.6 kB / 1.375 GB, free: 150.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002923/1.981, allocations: 2.707 MB / 1.378 GB, free: 149.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003199/1.985, allocations: 3.227 MB / 1.381 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004897/1.99, allocations: 3.379 MB / 1.384 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.239e-05/1.99, allocations: 3.094 kB / 1.384 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.02201/2.012, allocations: 11.99 MB / 1.396 GB, free: 142 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.82e-05/2.012, allocations: 12 kB / 1.396 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-05/2.012, allocations: 23.58 kB / 1.396 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02143/2.033, allocations: 7.891 MB / 1.404 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/2.034, allocations: 283.5 kB / 1.404 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04226/2.077, allocations: 31.32 MB / 1.434 GB, free: 102.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00339/2.08, allocations: 119.7 kB / 1.435 GB, free: 102.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007507/2.081, allocations: 278.3 kB / 1.435 GB, free: 102.4 MB / 0.8542 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 {(19,68.1%) 19,(12,50.0%) 18,(12,53.5%) 10} * Non-linear torn systems: 3 {20 18,12 18,12 10} Notification: Performance of prepare postOptimizeDAE: time 0.0007387/2.082, allocations: 144.5 kB / 1.435 GB, free: 102.3 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02065/2.102, allocations: 11.58 MB / 1.446 GB, free: 90.64 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001189/2.104, allocations: 241.1 kB / 1.447 GB, free: 90.41 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02174/2.125, allocations: 12.16 MB / 1.458 GB, free: 78.21 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.49e-05/2.125, allocations: 24 kB / 1.458 GB, free: 78.18 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.184e-05/2.125, allocations: 20 kB / 1.458 GB, free: 78.16 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.016e-05/2.126, allocations: 23.89 kB / 1.458 GB, free: 78.14 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03013/2.156, allocations: 17.58 MB / 1.476 GB, free: 60.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.267e-05/2.156, allocations: 11.95 kB / 1.476 GB, free: 60.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008393/2.157, allocations: 159.8 kB / 1.476 GB, free: 60.25 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02073/2.177, allocations: 7.819 MB / 1.483 GB, free: 52.41 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004963/2.178, allocations: 79.86 kB / 1.484 GB, free: 52.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04121/2.219, allocations: 30.9 MB / 1.514 GB, free: 21.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.05e-05/2.219, allocations: 8 kB / 1.514 GB, free: 21.01 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02145/2.241, allocations: 12.29 MB / 1.526 GB, free: 8.441 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002228/2.243, allocations: 0.9976 MB / 1.527 GB, free: 7.422 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006385/2.244, allocations: 8 kB / 1.527 GB, free: 7.414 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001847/2.245, allocations: 111.7 kB / 1.527 GB, free: 7.305 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007875/2.246, allocations: 265.4 kB / 1.527 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003906/2.247, allocations: 235.8 kB / 1.527 GB, free: 6.812 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001238/2.248, allocations: 0.9347 MB / 1.528 GB, free: 5.887 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/2.248, allocations: 4 kB / 1.528 GB, free: 5.883 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004286/2.252, allocations: 1.144 MB / 1.529 GB, free: 4.738 MB / 0.8542 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 {(12,53.5%) 10,(12,50.0%) 18,(19,54.8%) 19} * Non-linear torn systems: 3 {12 10,12 18,20 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.02969/2.282, allocations: 16.35 MB / 1.545 GB, free: 4.145 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01954/2.301, allocations: 9.052 MB / 1.554 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-05/2.302, allocations: 0 / 1.554 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0143/2.316, allocations: 5.83 MB / 1.56 GB, free: 5.223 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003019/2.319, allocations: 421.5 kB / 1.56 GB, free: 4.832 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01712/2.336, allocations: 8.346 MB / 1.568 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003743/2.34, allocations: 3.191 MB / 1.571 GB, free: 9.113 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001334/2.341, allocations: 369 kB / 1.572 GB, free: 8.766 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00172/2.343, allocations: 1.452 MB / 1.573 GB, free: 7.316 MB / 0.9011 GB Notification: Performance of SimCode: time 1.122e-06/2.343, allocations: 0 / 1.573 GB, free: 7.316 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7004/3.043, allocations: 96.77 MB / 1.668 GB, free: 243.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/3.044, allocations: 169.8 kB / 1.668 GB, free: 243.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.22/7.264, allocations: 0.875 kB / 1.668 GB, free: 243.7 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)