Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="IBPSA_latest_IBPSA_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008126/0.0008128, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000874/0.000874, allocations: 170.6 kB / 16.58 MB, free: 6.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.232/1.232, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6468/0.6468, allocations: 113.7 MB / 405.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000291/0.0002913, allocations: 8 kB / 493.2 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1281, allocations: 77.11 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01076/0.1389, allocations: 10.79 MB / 0.5674 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006788/0.1457, allocations: 5.207 MB / 0.5725 GB, free: 11.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006264/0.1464, allocations: 31.88 kB / 0.5726 GB, free: 11.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006976/0.1471, allocations: 290.1 kB / 0.5728 GB, free: 11.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009651/0.148, allocations: 0.5363 MB / 0.5734 GB, free: 10.76 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.1491, allocations: 494.8 kB / 0.5738 GB, free: 10.28 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002283/0.1514, allocations: 2.93 MB / 0.5767 GB, free: 7.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004449/0.1559, allocations: 3.858 MB / 0.5805 GB, free: 3.426 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009736/0.1569, allocations: 0.7746 MB / 0.5812 GB, free: 2.648 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/0.158, allocations: 1.09 MB / 0.5823 GB, free: 1.555 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.1582, allocations: 108 kB / 0.5824 GB, free: 1.449 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006886/0.1589, allocations: 319.6 kB / 0.5827 GB, free: 1.137 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005663/0.1595, allocations: 0.7366 MB / 0.5834 GB, free: 408 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002819/0.1598, allocations: 368.8 kB / 0.5838 GB, free: 32 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2469/0.4067, allocations: 3.273 MB / 0.587 GB, free: 16.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.4067, allocations: 0 / 0.587 GB, free: 16.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4067, allocations: 0 / 0.587 GB, free: 16.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.478e-05/0.4068, allocations: 0.9375 kB / 0.587 GB, free: 16.43 MB / 446.1 MB 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.003502/0.4103, allocations: 1.776 MB / 0.5887 GB, free: 15.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4104, allocations: 9.062 kB / 0.5887 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003814/0.4108, allocations: 262.5 kB / 0.5889 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002972/0.4137, allocations: 0.7527 MB / 0.5897 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002037/0.4158, allocations: 1.226 MB / 0.5909 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.171e-05/0.4159, allocations: 126.2 kB / 0.591 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000285/0.4162, allocations: 161.8 kB / 0.5912 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004985/0.4212, allocations: 2.949 MB / 0.594 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.306e-05/0.4212, allocations: 2.906 kB / 0.594 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002034/0.4214, allocations: 69.55 kB / 0.5941 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004194/0.4219, allocations: 207.7 kB / 0.5943 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004037/0.4259, allocations: 2.507 MB / 0.5967 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01051/0.4364, allocations: 10.9 MB / 0.6074 GB, free: 9.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.4375, allocations: 0.917 MB / 0.6083 GB, free: 9.031 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006229/0.4382, allocations: 0.5073 MB / 0.6088 GB, free: 9.016 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.47e-05/0.4383, allocations: 95.56 kB / 0.6089 GB, free: 8.914 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.4383, allocations: 37.84 kB / 0.6089 GB, free: 8.875 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.605e-06/0.4383, allocations: 0 / 0.6089 GB, free: 8.875 MB / 446.1 MB Notification: Performance of matching and sorting (n=70): time 0.02264/0.461, allocations: 8.972 MB / 0.6177 GB, free: 4.555 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.461, allocations: 85.45 kB / 0.6178 GB, free: 4.461 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.4621, allocations: 0.9494 MB / 0.6187 GB, free: 3.926 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.528e-05/0.4622, allocations: 39.95 kB / 0.6187 GB, free: 3.887 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003183/0.4626, allocations: 0.773 MB / 0.6195 GB, free: 3.203 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.4627, allocations: 250.9 kB / 0.6197 GB, free: 2.992 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.88e-05/0.4628, allocations: 18.62 kB / 0.6197 GB, free: 2.977 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.34e-05/0.4629, allocations: 393.9 kB / 0.6201 GB, free: 2.609 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009508/0.4639, allocations: 0.8033 MB / 0.6209 GB, free: 2.184 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/0.465, allocations: 1.155 MB / 0.622 GB, free: 1.297 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.4661, allocations: 0.993 MB / 0.623 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.4661, allocations: 3.688 kB / 0.623 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00797/0.4741, allocations: 3.78 MB / 0.6267 GB, free: 14.88 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002564/0.4744, allocations: 418 kB / 0.6271 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.4744, allocations: 11.78 kB / 0.6271 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007107/0.4815, allocations: 2.167 MB / 0.6292 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008678/0.4824, allocations: 220.8 kB / 0.6294 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01407/0.4965, allocations: 10.27 MB / 0.6395 GB, free: 2.664 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.498, allocations: 203.7 kB / 0.6396 GB, free: 2.465 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.4981, allocations: 47.98 kB / 0.6397 GB, free: 2.418 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.4981, allocations: 4 kB / 0.6397 GB, free: 2.414 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006804/0.5049, allocations: 3.072 MB / 0.6427 GB, free: 15.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/0.505, allocations: 12.12 kB / 0.6427 GB, free: 15.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004666/0.5097, allocations: 1.358 MB / 0.644 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.5107, allocations: 294.2 kB / 0.6443 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009103/0.5199, allocations: 6.147 MB / 0.6503 GB, free: 7.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.5212, allocations: 175.8 kB / 0.6505 GB, free: 7.328 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.229e-05/0.5213, allocations: 50.47 kB / 0.6505 GB, free: 7.281 MB / 478.1 MB 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.00159/0.5229, allocations: 0.8937 MB / 0.6514 GB, free: 6.391 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/0.5231, allocations: 94.95 kB / 0.6515 GB, free: 6.297 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007784/0.5309, allocations: 3.324 MB / 0.6547 GB, free: 2.977 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.5309, allocations: 7.953 kB / 0.6547 GB, free: 2.969 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.5309, allocations: 4 kB / 0.6548 GB, free: 2.965 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/0.531, allocations: 3.984 kB / 0.6548 GB, free: 2.961 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/0.5421, allocations: 5.487 MB / 0.6601 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.5421, allocations: 8.25 kB / 0.6601 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004545/0.5426, allocations: 106.7 kB / 0.6602 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006519/0.5491, allocations: 1.976 MB / 0.6622 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.5492, allocations: 20 kB / 0.6622 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01239/0.5616, allocations: 9.65 MB / 0.6716 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.5617, allocations: 2.812 kB / 0.6716 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007427/0.5691, allocations: 3.201 MB / 0.6747 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007233/0.5699, allocations: 343.8 kB / 0.6751 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.57, allocations: 12.19 kB / 0.6751 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008076/0.5708, allocations: 155.8 kB / 0.6752 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002532/0.5711, allocations: 64.45 kB / 0.6753 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.835e-05/0.5712, allocations: 20 kB / 0.6753 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009759/0.5722, allocations: 0.6741 MB / 0.676 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5722, allocations: 4 kB / 0.676 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002226/0.5744, allocations: 0.707 MB / 0.6766 GB, free: 12.2 MB / 0.4981 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.007778/0.5822, allocations: 3.786 MB / 0.6803 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006913/0.5891, allocations: 3.915 MB / 0.6842 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.5892, allocations: 0 / 0.6842 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001935/0.5911, allocations: 1.313 MB / 0.6854 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.5925, allocations: 262.5 kB / 0.6857 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01968/0.6122, allocations: 11.43 MB / 0.6969 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001346/0.6135, allocations: 1.715 MB / 0.6985 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001243/0.6148, allocations: 0.511 MB / 0.699 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006076/0.6154, allocations: 0.4993 MB / 0.6995 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of SimCode: time 8.72e-07/0.6154, allocations: 0 / 0.6995 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05577/0.6712, allocations: 41.83 MB / 0.7404 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/0.6714, allocations: 247.2 kB / 0.7406 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.085/2.756, allocations: 4 kB / 0.7406 GB, free: 10.93 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1) Environment - environmentSimulation: