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.ACLine_R_N.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.ACLine_R_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",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.678/1.678, allocations: 285.4 MB / 298 MB, free: 5.969 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.001086/0.001086, allocations: 172.9 kB / 366.4 MB, free: 2.086 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.559/1.559, allocations: 205.1 MB / 0.6248 GB, free: 7.715 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.0008805/0.0008804, allocations: 90.66 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.629e-05/3.641e-05, allocations: 4 kB / 0.8584 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8153/0.8154, allocations: 115.3 MB / 0.971 GB, free: 77.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2482/1.064, allocations: 171.5 MB / 1.138 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003515/1.064, allocations: 91.94 kB / 1.139 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.178/2.242, allocations: 201.3 MB / 1.335 GB, free: 183 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.307e-06/2.242, allocations: 0 / 1.335 GB, free: 183 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.000603/2.243, allocations: 146.9 kB / 1.335 GB, free: 183 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02352/2.267, allocations: 4.871 MB / 1.34 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.834e-05/2.267, allocations: 7.344 kB / 1.34 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005897/2.273, allocations: 0.8227 MB / 1.341 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008999/2.282, allocations: 1.144 MB / 1.342 GB, free: 180 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01049/2.292, allocations: 3.688 MB / 1.346 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004542/2.293, allocations: 430.6 kB / 1.346 GB, free: 178 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003116/2.296, allocations: 0.5471 MB / 1.347 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03198/2.328, allocations: 8.719 MB / 1.355 GB, free: 173.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003494/2.328, allocations: 22.75 kB / 1.355 GB, free: 173.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002815/2.331, allocations: 264.6 kB / 1.355 GB, free: 173.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003666/2.331, allocations: 304.9 kB / 1.356 GB, free: 173.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01765/2.349, allocations: 6.319 MB / 1.362 GB, free: 170.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05288/2.402, allocations: 41.45 MB / 1.402 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004474/2.407, allocations: 3.075 MB / 1.405 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002601/2.409, allocations: 2.129 MB / 1.407 GB, free: 131.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/2.409, allocations: 22 kB / 1.407 GB, free: 131.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.381e-05/2.409, allocations: 64.56 kB / 1.407 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=209): time 6.512e-06/2.41, allocations: 3.75 kB / 1.407 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=212): time 0.01188/2.421, allocations: 6.584 MB / 1.414 GB, free: 124.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/2.422, allocations: 73.41 kB / 1.414 GB, free: 124.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002537/2.424, allocations: 1.649 MB / 1.416 GB, free: 123.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002998/2.424, allocations: 61.7 kB / 1.416 GB, free: 123.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001061/2.425, allocations: 2.373 MB / 1.418 GB, free: 120.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005962/2.426, allocations: 0.7215 MB / 1.419 GB, free: 120 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/2.426, allocations: 52 kB / 1.419 GB, free: 120 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001298/2.426, allocations: 419.1 kB / 1.419 GB, free: 119.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001559/2.428, allocations: 1.29 MB / 1.42 GB, free: 118.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001863/2.43, allocations: 2.078 MB / 1.422 GB, free: 115.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001923/2.432, allocations: 1.676 MB / 1.424 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/2.432, allocations: 4 kB / 1.424 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.007043/2.439, allocations: 4.928 MB / 1.429 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.286e-05/2.439, allocations: 20.03 kB / 1.429 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.744e-05/2.439, allocations: 24 kB / 1.429 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003009/2.442, allocations: 1.531 MB / 1.43 GB, free: 107.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/2.444, allocations: 435.2 kB / 1.431 GB, free: 107.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01737/2.461, allocations: 16.96 MB / 1.447 GB, free: 89.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0028/2.464, allocations: 147.9 kB / 1.447 GB, free: 89.57 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003925/2.464, allocations: 108 kB / 1.448 GB, free: 89.46 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 215 * 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,72.2%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004773/2.465, allocations: 262.3 kB / 1.448 GB, free: 89.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000574/2.465, allocations: 284.7 kB / 1.448 GB, free: 88.92 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006561/2.472, allocations: 4.413 MB / 1.452 GB, free: 84.48 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/2.472, allocations: 24 kB / 1.452 GB, free: 84.45 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.436e-05/2.472, allocations: 16.25 kB / 1.452 GB, free: 84.44 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.481e-05/2.472, allocations: 11.95 kB / 1.452 GB, free: 84.43 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01682/2.489, allocations: 9.605 MB / 1.462 GB, free: 74.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/2.489, allocations: 4.562 kB / 1.462 GB, free: 74.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009676/2.49, allocations: 239.6 kB / 1.462 GB, free: 74.48 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002871/2.493, allocations: 1.393 MB / 1.463 GB, free: 73.08 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001587/2.493, allocations: 43.94 kB / 1.463 GB, free: 73.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01721/2.51, allocations: 16.97 MB / 1.48 GB, free: 55.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/2.51, allocations: 11.94 kB / 1.48 GB, free: 55.54 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006729/2.517, allocations: 4.837 MB / 1.485 GB, free: 50.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001947/2.519, allocations: 0.6343 MB / 1.485 GB, free: 49.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007706/2.52, allocations: 40 kB / 1.485 GB, free: 49.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001593/2.521, allocations: 119.8 kB / 1.486 GB, free: 49.69 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005168/2.522, allocations: 173.7 kB / 1.486 GB, free: 49.52 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001632/2.522, allocations: 60 kB / 1.486 GB, free: 49.46 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00172/2.524, allocations: 1.244 MB / 1.487 GB, free: 48.21 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.112e-06/2.524, allocations: 4 kB / 1.487 GB, free: 48.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004271/2.528, allocations: 1.18 MB / 1.488 GB, free: 47.02 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007061/2.535, allocations: 6.554 MB / 1.495 GB, free: 40.31 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006361/2.542, allocations: 4.527 MB / 1.499 GB, free: 35.73 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.445e-06/2.542, allocations: 0 / 1.499 GB, free: 35.73 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003983/2.546, allocations: 2.873 MB / 1.502 GB, free: 32.82 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004158/2.55, allocations: 0.7687 MB / 1.502 GB, free: 32.06 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02185/2.572, allocations: 8.879 MB / 1.511 GB, free: 23.06 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004767/2.577, allocations: 3.784 MB / 1.515 GB, free: 19.25 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002733/2.579, allocations: 0.5475 MB / 1.515 GB, free: 18.72 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002702/2.582, allocations: 1.94 MB / 1.517 GB, free: 16.78 MB / 0.8542 GB Notification: Performance of SimCode: time 2.034e-06/2.582, allocations: 3.938 kB / 1.517 GB, free: 16.77 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1533/2.735, allocations: 81.75 MB / 1.597 GB, free: 15.81 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/2.736, allocations: 198.4 kB / 1.597 GB, free: 15.59 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.656/7.391, allocations: 6.719 kB / 1.597 GB, free: 15.59 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)