Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.596/2.596, allocations: 287.5 MB / 302.4 MB, free: 8.297 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.002079/0.002079, allocations: 176.9 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.217/2.217, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.0009075/0.0009072, allocations: 86.05 kB / 0.743 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006518/0.000652, allocations: 16.56 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2231, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.04304/0.2662, allocations: 21.23 MB / 0.9992 GB, free: 6.961 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01949/0.2858, allocations: 6.234 MB / 1.005 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003092/0.2889, allocations: 79.5 kB / 1.005 GB, free: 0.6289 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002541/0.2915, allocations: 456.5 kB / 1.006 GB, free: 184 kB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00709/0.2987, allocations: 1.54 MB / 1.007 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005364/0.3041, allocations: 0.9165 MB / 1.008 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01776/0.3219, allocations: 8.17 MB / 1.016 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02309/0.345, allocations: 7.082 MB / 1.023 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006966/0.3521, allocations: 2.121 MB / 1.025 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009483/0.3616, allocations: 3.131 MB / 1.028 GB, free: 9.117 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001983/0.3636, allocations: 248 kB / 1.028 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005152/0.3688, allocations: 0.5814 MB / 1.029 GB, free: 8.293 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.006222/0.3751, allocations: 2.093 MB / 1.031 GB, free: 6.195 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.00326/0.3784, allocations: 0.8394 MB / 1.032 GB, free: 5.348 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01567/0.3941, allocations: 7.002 MB / 1.039 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.3942, allocations: 0 / 1.039 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.946e-06/0.3942, allocations: 0 / 1.039 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002721/0.3945, allocations: 0 / 1.039 GB, free: 14.32 MB / 0.6667 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.01665/0.4112, allocations: 3.613 MB / 1.042 GB, free: 10.65 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 7.116e-05/0.4113, allocations: 12.03 kB / 1.042 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00289/0.4142, allocations: 0.579 MB / 1.043 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02118/0.4354, allocations: 1.684 MB / 1.044 GB, free: 8.355 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01044/0.4459, allocations: 2.505 MB / 1.047 GB, free: 5.797 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000554/0.4465, allocations: 279.2 kB / 1.047 GB, free: 5.523 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002273/0.4488, allocations: 363.8 kB / 1.048 GB, free: 5.168 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03153/0.4804, allocations: 7.455 MB / 1.055 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002189/0.4807, allocations: 15.94 kB / 1.055 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001616/0.4823, allocations: 159.9 kB / 1.055 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001538/0.4839, allocations: 487.3 kB / 1.055 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02499/0.5089, allocations: 5.674 MB / 1.061 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7039/1.213, allocations: 31.65 MB / 1.092 GB, free: 58.38 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005598/1.219, allocations: 2.083 MB / 1.094 GB, free: 57.58 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005673/1.224, allocations: 2.177 MB / 1.096 GB, free: 56.77 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000471/1.225, allocations: 18.3 kB / 1.096 GB, free: 56.77 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.172e-05/1.225, allocations: 45.69 kB / 1.096 GB, free: 56.72 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=146): time 4.929e-06/1.225, allocations: 0 / 1.096 GB, free: 56.72 MB / 0.6823 GB Notification: Performance of matching and sorting (n=251): time 0.5421/1.767, allocations: 75.25 MB / 1.17 GB, free: 5.117 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/1.767, allocations: 77.41 kB / 1.17 GB, free: 5.031 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003049/1.77, allocations: 1.65 MB / 1.171 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006479/1.771, allocations: 65.7 kB / 1.171 GB, free: 3.266 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001235/1.772, allocations: 1.741 MB / 1.173 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001309/1.773, allocations: 0.8569 MB / 1.174 GB, free: 0.6602 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004566/1.774, allocations: 55.94 kB / 1.174 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001659/1.774, allocations: 415.2 kB / 1.174 GB, free: 200 kB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007281/1.781, allocations: 2.722 MB / 1.177 GB, free: 13.47 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008124/1.79, allocations: 3.324 MB / 1.18 GB, free: 9.895 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008367/1.798, allocations: 3.051 MB / 1.183 GB, free: 6.848 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.876e-05/1.798, allocations: 4 kB / 1.183 GB, free: 6.844 MB / 0.698 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.06305/1.861, allocations: 14.65 MB / 1.198 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.467e-05/1.861, allocations: 12 kB / 1.198 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.681e-05/1.861, allocations: 24.64 kB / 1.198 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08102/1.942, allocations: 9.235 MB / 1.207 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003706/1.946, allocations: 299.4 kB / 1.207 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1657/2.112, allocations: 47.07 MB / 1.253 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004865/2.117, allocations: 227.7 kB / 1.253 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007646/2.118, allocations: 96 kB / 1.253 GB, free: 14.36 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * 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: 6 {(19,68.1%) 19,(19,54.6%) 19,(12,50.0%) 18,(12,50.0%) 18,(12,52.8%) 10,(12,53.5%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004825/2.122, allocations: 1.59 MB / 1.255 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009219/2.123, allocations: 241.1 kB / 1.255 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06323/2.187, allocations: 14.72 MB / 1.269 GB, free: 13.74 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-05/2.187, allocations: 27.95 kB / 1.269 GB, free: 13.71 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001869/2.187, allocations: 52 kB / 1.269 GB, free: 13.66 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.319e-05/2.187, allocations: 11.95 kB / 1.269 GB, free: 13.65 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07862/2.266, allocations: 20.49 MB / 1.289 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.333e-05/2.266, allocations: 4 kB / 1.289 GB, free: 9.012 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/2.267, allocations: 159.8 kB / 1.29 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05629/2.323, allocations: 9.001 MB / 1.298 GB, free: 15.83 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006919/2.324, allocations: 52 kB / 1.298 GB, free: 15.78 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1521/2.476, allocations: 46.69 MB / 1.344 GB, free: 276 kB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.578e-05/2.476, allocations: 19.92 kB / 1.344 GB, free: 256 kB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07361/2.55, allocations: 14.32 MB / 1.358 GB, free: 1.789 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003286/2.553, allocations: 0.8531 MB / 1.359 GB, free: 0.9141 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001194/2.555, allocations: 55.98 kB / 1.359 GB, free: 0.8594 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004478/2.559, allocations: 203.7 kB / 1.359 GB, free: 0.6602 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001985/2.561, allocations: 241.6 kB / 1.359 GB, free: 432 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006582/2.562, allocations: 64.44 kB / 1.359 GB, free: 368 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002652/2.565, allocations: 1.106 MB / 1.36 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.21e-07/2.565, allocations: 4 kB / 1.36 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.008039/2.573, allocations: 1.602 MB / 1.362 GB, free: 13.62 MB / 0.8855 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 () * Number of clocked 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: 6 {(12,53.5%) 10,(12,50.0%) 18,(19,64.8%) 19,(12,53.5%) 10,(12,50.0%) 18,(19,54.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06158/2.634, allocations: 14.94 MB / 1.377 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.04059/2.675, allocations: 10.33 MB / 1.387 GB, free: 4.141 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/2.675, allocations: 0 / 1.387 GB, free: 4.141 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.03199/2.707, allocations: 7.146 MB / 1.394 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0054/2.712, allocations: 0.5215 MB / 1.394 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.763/3.475, allocations: 35.87 MB / 1.429 GB, free: 308.6 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007429/3.483, allocations: 3.223 MB / 1.432 GB, free: 307.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002103/3.485, allocations: 393.9 kB / 1.433 GB, free: 307.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00272/3.488, allocations: 1.482 MB / 1.434 GB, free: 307.8 MB / 0.9323 GB Notification: Performance of SimCode: time 1.713e-06/3.488, allocations: 0 / 1.434 GB, free: 307.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2466/3.734, allocations: 112.3 MB / 1.544 GB, free: 234.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002355/3.735, allocations: 234.9 kB / 1.544 GB, free: 234.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.341/9.076, allocations: 4 kB / 1.544 GB, free: 234.3 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)