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.ACSimpleGrid_N.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.ACSimpleGrid_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",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.658/1.658, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 175.7 kB / 326.6 MB, free: 2.238 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.95/1.95, allocations: 205.4 MB / 0.5777 GB, free: 20.29 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.000945/0.0009451, allocations: 91.64 kB / 0.6823 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003728, allocations: 7.219 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2667, allocations: 106.4 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01008/0.2768, allocations: 10.77 MB / 0.9108 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007343/0.2842, allocations: 5.232 MB / 0.916 GB, free: 47.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009721/0.2852, allocations: 31.88 kB / 0.916 GB, free: 47.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008519/0.2861, allocations: 290 kB / 0.9163 GB, free: 47.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001234/0.2873, allocations: 0.5248 MB / 0.9168 GB, free: 46.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.2887, allocations: 494.8 kB / 0.9172 GB, free: 46.42 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002254/0.291, allocations: 2.919 MB / 0.9201 GB, free: 43.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004266/0.2953, allocations: 3.86 MB / 0.9239 GB, free: 39.58 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/0.2965, allocations: 0.7707 MB / 0.9246 GB, free: 38.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.2977, allocations: 1.09 MB / 0.9257 GB, free: 37.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001693/0.2979, allocations: 108 kB / 0.9258 GB, free: 37.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009513/0.2989, allocations: 315.7 kB / 0.9261 GB, free: 37.3 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0005209/0.2994, allocations: 0.7482 MB / 0.9268 GB, free: 36.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003245/0.2997, allocations: 360.9 kB / 0.9272 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002043/0.3018, allocations: 3.258 MB / 0.9303 GB, free: 32.92 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.3018, allocations: 0 / 0.9303 GB, free: 32.92 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.565e-06/0.3018, allocations: 4 kB / 0.9303 GB, free: 32.92 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.764e-05/0.3019, allocations: 0 / 0.9303 GB, free: 32.92 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.003024/0.3049, allocations: 1.769 MB / 0.9321 GB, free: 31.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.305, allocations: 8.031 kB / 0.9321 GB, free: 31.09 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003066/0.3053, allocations: 264.8 kB / 0.9323 GB, free: 30.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00276/0.308, allocations: 0.747 MB / 0.9331 GB, free: 30.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001898/0.31, allocations: 1.227 MB / 0.9343 GB, free: 28.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.3101, allocations: 123.2 kB / 0.9344 GB, free: 28.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002314/0.3103, allocations: 167.9 kB / 0.9345 GB, free: 28.51 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004073/0.3144, allocations: 2.944 MB / 0.9374 GB, free: 25.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.782e-05/0.3145, allocations: 4 kB / 0.9374 GB, free: 25.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001709/0.3146, allocations: 64 kB / 0.9375 GB, free: 25.44 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003633/0.315, allocations: 203 kB / 0.9377 GB, free: 25.24 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003384/0.3184, allocations: 2.507 MB / 0.9401 GB, free: 22.73 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01001/0.3284, allocations: 10.9 MB / 0.9508 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.3295, allocations: 0.9146 MB / 0.9517 GB, free: 9.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006023/0.3301, allocations: 0.512 MB / 0.9522 GB, free: 9.469 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.3303, allocations: 89.48 kB / 0.9522 GB, free: 9.363 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.3303, allocations: 34.94 kB / 0.9523 GB, free: 9.32 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=46): time 2.605e-06/0.3303, allocations: 8 kB / 0.9523 GB, free: 9.312 MB / 0.6042 GB Notification: Performance of matching and sorting (n=70): time 0.02523/0.3555, allocations: 8.977 MB / 0.961 GB, free: 264 kB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.3556, allocations: 85.67 kB / 0.9611 GB, free: 156 kB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.3571, allocations: 0.9376 MB / 0.962 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001595/0.3572, allocations: 37.7 kB / 0.9621 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000877/0.3581, allocations: 0.7775 MB / 0.9628 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003706/0.3585, allocations: 252.5 kB / 0.9631 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-05/0.3586, allocations: 20 kB / 0.9631 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002952/0.3589, allocations: 398.8 kB / 0.9635 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.3604, allocations: 0.7989 MB / 0.9643 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001786/0.3622, allocations: 1.164 MB / 0.9654 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/0.3638, allocations: 0.9868 MB / 0.9664 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.705e-05/0.3638, allocations: 4 kB / 0.9664 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01066/0.3745, allocations: 3.787 MB / 0.9701 GB, free: 6.781 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003445/0.3749, allocations: 413.2 kB / 0.9705 GB, free: 6.223 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/0.3749, allocations: 12 kB / 0.9705 GB, free: 6.211 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008872/0.3838, allocations: 2.164 MB / 0.9726 GB, free: 4.039 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.3849, allocations: 223.6 kB / 0.9728 GB, free: 3.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01616/0.401, allocations: 10.25 MB / 0.9828 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.4027, allocations: 203.6 kB / 0.983 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.4028, allocations: 44 kB / 0.983 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.4028, allocations: 4 kB / 0.983 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007953/0.4108, allocations: 3.076 MB / 0.986 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.481e-05/0.4109, allocations: 8 kB / 0.9861 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005531/0.4164, allocations: 1.357 MB / 0.9874 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.4176, allocations: 291.6 kB / 0.9877 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01045/0.4281, allocations: 6.162 MB / 0.9937 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.4295, allocations: 175.7 kB / 0.9938 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-05/0.4297, allocations: 44 kB / 0.9939 GB, free: 13.82 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.001636/0.4313, allocations: 0.8948 MB / 0.9948 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000219/0.4315, allocations: 86.97 kB / 0.9948 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009272/0.4408, allocations: 3.32 MB / 0.9981 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.4409, allocations: 11.95 kB / 0.9981 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.4409, allocations: 7.938 kB / 0.9981 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/0.4409, allocations: 3.984 kB / 0.9981 GB, free: 9.469 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01282/0.4537, allocations: 5.493 MB / 1.003 GB, free: 3.859 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/0.4538, allocations: 4 kB / 1.003 GB, free: 3.855 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004849/0.4543, allocations: 103.8 kB / 1.004 GB, free: 3.754 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007758/0.462, allocations: 1.982 MB / 1.006 GB, free: 1.766 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/0.4622, allocations: 12 kB / 1.006 GB, free: 1.754 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01493/0.4771, allocations: 9.648 MB / 1.015 GB, free: 7.832 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.4772, allocations: 4 kB / 1.015 GB, free: 7.828 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008775/0.486, allocations: 3.198 MB / 1.018 GB, free: 4.582 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007231/0.4867, allocations: 336 kB / 1.018 GB, free: 4.234 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.4869, allocations: 16 kB / 1.018 GB, free: 4.219 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008918/0.4878, allocations: 147.8 kB / 1.019 GB, free: 4.074 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002563/0.4881, allocations: 68.41 kB / 1.019 GB, free: 4.008 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.213e-05/0.4881, allocations: 24 kB / 1.019 GB, free: 3.984 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009789/0.4891, allocations: 0.6707 MB / 1.019 GB, free: 3.32 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.51e-07/0.4891, allocations: 0 / 1.019 GB, free: 3.32 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002235/0.4914, allocations: 0.6757 MB / 1.02 GB, free: 2.645 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.009183/0.5006, allocations: 3.801 MB / 1.024 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00797/0.5086, allocations: 3.905 MB / 1.027 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.5086, allocations: 0 / 1.027 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002214/0.5108, allocations: 1.313 MB / 1.029 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.5122, allocations: 252.9 kB / 1.029 GB, free: 9.25 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02366/0.5359, allocations: 11.41 MB / 1.04 GB, free: 13.54 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001791/0.5377, allocations: 1.722 MB / 1.042 GB, free: 11.78 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001475/0.5392, allocations: 0.5148 MB / 1.042 GB, free: 11.26 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006542/0.5399, allocations: 0.4993 MB / 1.043 GB, free: 10.76 MB / 0.698 GB Notification: Performance of SimCode: time 8.71e-07/0.5399, allocations: 0 / 1.043 GB, free: 10.76 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5451/1.085, allocations: 41.58 MB / 1.083 GB, free: 130.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/1.085, allocations: 266.1 kB / 1.084 GB, free: 130.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.702/3.788, allocations: 0 / 1.084 GB, free: 130.4 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)