Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_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.Loads.Examples.Loads_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_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.638/1.638, allocations: 289.9 MB / 297.4 MB, free: 6.324 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.001172/0.001172, allocations: 176.8 kB / 366.7 MB, free: 1.652 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.81/1.81, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.00119/0.00119, allocations: 92.78 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.988e-05/2.989e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8495/0.8495, allocations: 116.3 MB / 0.9734 GB, free: 75.99 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2594/1.109, allocations: 180.6 MB / 1.15 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00035/1.109, allocations: 95.92 kB / 1.15 GB, free: 1.359 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.2818/1.391, allocations: 111.4 MB / 1.259 GB, free: 1.191 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.864e-06/1.391, allocations: 0 / 1.259 GB, free: 1.191 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001252/1.391, allocations: 67.94 kB / 1.259 GB, free: 1.125 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.6851/2.077, allocations: 2.414 MB / 1.261 GB, free: 194 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001071/2.077, allocations: 9.75 kB / 1.261 GB, free: 194 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007064/2.084, allocations: 0.6941 MB / 1.262 GB, free: 193.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005251/2.089, allocations: 1.606 MB / 1.263 GB, free: 193.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002149/2.089, allocations: 93.72 kB / 1.263 GB, free: 193.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001185/2.091, allocations: 171.2 kB / 1.263 GB, free: 193.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009165/2.1, allocations: 3.206 MB / 1.267 GB, free: 193.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009831/2.11, allocations: 4.118 MB / 1.271 GB, free: 193.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-05/2.11, allocations: 12.88 kB / 1.271 GB, free: 193.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003053/2.11, allocations: 6.094 kB / 1.271 GB, free: 193.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002934/2.11, allocations: 186.1 kB / 1.271 GB, free: 193.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02842/2.139, allocations: 22.13 MB / 1.292 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003312/2.142, allocations: 1.527 MB / 1.294 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001939/2.144, allocations: 1.001 MB / 1.295 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001757/2.144, allocations: 96.38 kB / 1.295 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/2.144, allocations: 48.52 kB / 1.295 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=72): time 3.767e-06/2.144, allocations: 0 / 1.295 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=75): time 0.007737/2.152, allocations: 2.921 MB / 1.298 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/2.152, allocations: 141.7 kB / 1.298 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/2.154, allocations: 0.8022 MB / 1.299 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001255/2.154, allocations: 27.05 kB / 1.299 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009552/2.155, allocations: 1.209 MB / 1.3 GB, free: 176.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000314/2.155, allocations: 257.5 kB / 1.3 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.555e-05/2.155, allocations: 1.312 kB / 1.3 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001769/2.155, allocations: 401.3 kB / 1.301 GB, free: 175.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/2.157, allocations: 0.7509 MB / 1.301 GB, free: 175.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001689/2.158, allocations: 1.227 MB / 1.303 GB, free: 175.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001943/2.16, allocations: 1.057 MB / 1.304 GB, free: 175.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/2.16, allocations: 3.344 kB / 1.304 GB, free: 175.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003902/2.164, allocations: 2.089 MB / 1.306 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001286/2.165, allocations: 5.485 MB / 1.311 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.409e-05/2.166, allocations: 20.94 kB / 1.311 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.619e-05/2.166, allocations: 24.72 kB / 1.311 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001881/2.168, allocations: 412.4 kB / 1.311 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-05/2.168, allocations: 30.5 kB / 1.311 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/2.169, allocations: 236.2 kB / 1.312 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/2.169, allocations: 61.59 kB / 1.312 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/2.169, allocations: 3.562 kB / 1.312 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00353/2.173, allocations: 1.666 MB / 1.313 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.581e-05/2.173, allocations: 13.75 kB / 1.313 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.595e-05/2.173, allocations: 26.66 kB / 1.313 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/2.175, allocations: 364.1 kB / 1.314 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-05/2.175, allocations: 32.09 kB / 1.314 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/2.176, allocations: 153.6 kB / 1.314 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000174/2.176, allocations: 58.03 kB / 1.314 GB, free: 169.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 156 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003817/2.177, allocations: 142 kB / 1.314 GB, free: 169.3 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002777/2.179, allocations: 1.42 MB / 1.316 GB, free: 169.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005811/2.18, allocations: 93.69 kB / 1.316 GB, free: 169.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002923/2.183, allocations: 1.484 MB / 1.317 GB, free: 168.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/2.183, allocations: 12.8 kB / 1.317 GB, free: 168.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/2.183, allocations: 2.031 kB / 1.317 GB, free: 168.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-05/2.183, allocations: 5.203 kB / 1.317 GB, free: 168.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0124/2.195, allocations: 6.508 MB / 1.323 GB, free: 165.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-05/2.195, allocations: 7.625 kB / 1.323 GB, free: 165.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/2.197, allocations: 273.2 kB / 1.324 GB, free: 165.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.897e-05/2.197, allocations: 13.09 kB / 1.324 GB, free: 165.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.81e-05/2.197, allocations: 11.78 kB / 1.324 GB, free: 165.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.476e-05/2.197, allocations: 22.06 kB / 1.324 GB, free: 165.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.801e-05/2.197, allocations: 12.06 kB / 1.324 GB, free: 165.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003254/2.2, allocations: 2.411 MB / 1.326 GB, free: 164.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009508/2.201, allocations: 369.4 kB / 1.326 GB, free: 163.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003867/2.201, allocations: 14.09 kB / 1.326 GB, free: 163.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/2.203, allocations: 126.3 kB / 1.327 GB, free: 163.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/2.203, allocations: 75.38 kB / 1.327 GB, free: 163.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.575e-05/2.203, allocations: 28.44 kB / 1.327 GB, free: 163.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001183/2.204, allocations: 0.6015 MB / 1.327 GB, free: 163.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/2.204, allocations: 3.75 kB / 1.327 GB, free: 163.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004844/2.209, allocations: 0.7619 MB / 1.328 GB, free: 163.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 78 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003999/2.213, allocations: 5.533 MB / 1.333 GB, free: 158.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003932/2.217, allocations: 2.512 MB / 1.336 GB, free: 158.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.378e-05/2.217, allocations: 4.375 kB / 1.336 GB, free: 158.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000862/2.218, allocations: 0.7111 MB / 1.337 GB, free: 157.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/2.22, allocations: 245.6 kB / 1.337 GB, free: 157.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/2.231, allocations: 4.508 MB / 1.341 GB, free: 156.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002594/2.233, allocations: 2.167 MB / 1.343 GB, free: 155 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002456/2.236, allocations: 0.7685 MB / 1.344 GB, free: 155 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00117/2.237, allocations: 0.8068 MB / 1.345 GB, free: 154.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.072e-06/2.237, allocations: 2.25 kB / 1.345 GB, free: 154.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06055/2.298, allocations: 29.93 MB / 1.374 GB, free: 153 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/2.298, allocations: 152.8 kB / 1.374 GB, free: 152.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.735/5.033, allocations: 0 / 1.374 GB, free: 152.8 MB / 0.8542 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)