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: translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008943/0.0008943, allocations: 93.73 kB / 16.02 MB, free: 84 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.001095/0.001095, allocations: 172.8 kB / 16.91 MB, free: 6.68 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.39/1.39, allocations: 223.3 MB / 241 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6745/0.6745, allocations: 115.5 MB / 407.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003215/0.0003215, allocations: 8 kB / 495.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.163, allocations: 77.54 MB / 0.56 GB, free: 8.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01269/0.1757, allocations: 11.39 MB / 0.5711 GB, free: 13.56 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008622/0.1844, allocations: 5.651 MB / 0.5766 GB, free: 7.898 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000823/0.1853, allocations: 31.88 kB / 0.5766 GB, free: 7.867 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009012/0.1862, allocations: 314 kB / 0.5769 GB, free: 7.559 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.1875, allocations: 0.6187 MB / 0.5775 GB, free: 6.938 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.1891, allocations: 0.6745 MB / 0.5782 GB, free: 6.262 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00343/0.1925, allocations: 3.769 MB / 0.5819 GB, free: 2.484 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.309/0.5015, allocations: 4.35 MB / 0.5861 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001958/0.5035, allocations: 0.8185 MB / 0.5869 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00175/0.5053, allocations: 1.124 MB / 0.588 GB, free: 12.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002102/0.5055, allocations: 102.6 kB / 0.5881 GB, free: 12.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.5066, allocations: 0.4902 MB / 0.5886 GB, free: 12.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001009/0.5076, allocations: 0.739 MB / 0.5893 GB, free: 12.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001196/0.5088, allocations: 0.8594 MB / 0.5902 GB, free: 12.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005574/0.5144, allocations: 3.67 MB / 0.5937 GB, free: 12.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.5144, allocations: 0.7812 kB / 0.5937 GB, free: 12.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.5144, allocations: 0 / 0.5937 GB, free: 12.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.962e-05/0.5145, allocations: 0.8438 kB / 0.5937 GB, free: 12.14 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.005259/0.5198, allocations: 1.725 MB / 0.5954 GB, free: 11.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.5199, allocations: 9.781 kB / 0.5954 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004056/0.5239, allocations: 0.7676 MB / 0.5962 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002559/0.5265, allocations: 1.195 MB / 0.5974 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.5266, allocations: 122.5 kB / 0.5975 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003681/0.527, allocations: 156 kB / 0.5976 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006441/0.5335, allocations: 2.968 MB / 0.6005 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.823e-05/0.5335, allocations: 4.75 kB / 0.6005 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00022/0.5337, allocations: 67.64 kB / 0.6006 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003671/0.5341, allocations: 169.9 kB / 0.6008 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00466/0.5388, allocations: 2.531 MB / 0.6032 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01343/0.5522, allocations: 10.87 MB / 0.6138 GB, free: 2.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.5538, allocations: 0.956 MB / 0.6148 GB, free: 2.223 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007615/0.5546, allocations: 0.5057 MB / 0.6153 GB, free: 1.965 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.5547, allocations: 91.64 kB / 0.6154 GB, free: 1.867 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.5547, allocations: 42.25 kB / 0.6154 GB, free: 1.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 3.376e-06/0.5547, allocations: 0 / 0.6154 GB, free: 1.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=70): time 0.03096/0.5857, allocations: 8.364 MB / 0.6236 GB, free: 13.59 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.5858, allocations: 58.88 kB / 0.6236 GB, free: 13.53 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001699/0.5875, allocations: 0.9218 MB / 0.6245 GB, free: 13.02 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001753/0.5877, allocations: 41.02 kB / 0.6246 GB, free: 12.97 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006388/0.5884, allocations: 0.7774 MB / 0.6253 GB, free: 12.29 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003215/0.5887, allocations: 251.8 kB / 0.6256 GB, free: 12.08 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.5889, allocations: 85.14 kB / 0.6256 GB, free: 12.02 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.5891, allocations: 397.5 kB / 0.626 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.5905, allocations: 0.8168 MB / 0.6268 GB, free: 11.22 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001741/0.5923, allocations: 1.164 MB / 0.628 GB, free: 10.34 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003239/0.5955, allocations: 2.012 MB / 0.6299 GB, free: 9.047 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.44e-05/0.5955, allocations: 2.719 kB / 0.6299 GB, free: 9.047 MB / 462.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0105/0.6061, allocations: 3.738 MB / 0.6336 GB, free: 5.457 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004488/0.6065, allocations: 410.8 kB / 0.634 GB, free: 4.902 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.439e-05/0.6066, allocations: 12 kB / 0.634 GB, free: 4.891 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008424/0.615, allocations: 2.008 MB / 0.6359 GB, free: 2.879 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.6162, allocations: 238.2 kB / 0.6362 GB, free: 2.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01623/0.6324, allocations: 9.888 MB / 0.6458 GB, free: 8.543 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002229/0.6347, allocations: 191.6 kB / 0.646 GB, free: 8.355 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003276/0.635, allocations: 47.98 kB / 0.646 GB, free: 8.309 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.6351, allocations: 4 kB / 0.6461 GB, free: 8.305 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009042/0.6441, allocations: 3.068 MB / 0.649 GB, free: 5.309 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.576e-05/0.6442, allocations: 12 kB / 0.6491 GB, free: 5.297 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005505/0.6497, allocations: 1.293 MB / 0.6503 GB, free: 4.004 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/0.6512, allocations: 290.2 kB / 0.6506 GB, free: 3.734 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/0.6624, allocations: 5.989 MB / 0.6564 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001892/0.6644, allocations: 160.4 kB / 0.6566 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002818/0.6647, allocations: 51.92 kB / 0.6566 GB, free: 13.42 MB / 494.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.002344/0.667, allocations: 0.8926 MB / 0.6575 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003585/0.6674, allocations: 91.72 kB / 0.6576 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009748/0.6772, allocations: 3.246 MB / 0.6608 GB, free: 9.203 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.6772, allocations: 4 kB / 0.6608 GB, free: 9.199 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/0.6772, allocations: 4 kB / 0.6608 GB, free: 9.195 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.649e-05/0.6772, allocations: 7.828 kB / 0.6608 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01608/0.6933, allocations: 5.352 MB / 0.666 GB, free: 3.777 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.6934, allocations: 256 / 0.666 GB, free: 3.777 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007266/0.6941, allocations: 110.8 kB / 0.6661 GB, free: 3.676 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01053/0.7047, allocations: 1.82 MB / 0.6679 GB, free: 1.852 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001523/0.7049, allocations: 16 kB / 0.6679 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02036/0.7252, allocations: 9.301 MB / 0.677 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-06/0.7253, allocations: 4 kB / 0.677 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009331/0.7346, allocations: 3.093 MB / 0.68 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009145/0.7356, allocations: 328 kB / 0.6803 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003371/0.7359, allocations: 16 kB / 0.6804 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/0.7372, allocations: 147.8 kB / 0.6805 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003642/0.7376, allocations: 64.41 kB / 0.6806 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.236e-05/0.7377, allocations: 16 kB / 0.6806 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001445/0.7391, allocations: 0.6785 MB / 0.6812 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.71e-07/0.7391, allocations: 4 kB / 0.6812 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003657/0.7428, allocations: 0.6875 MB / 0.6819 GB, free: 3.223 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003309/0.7431, allocations: 125.7 kB / 0.682 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008856/0.752, allocations: 3.863 MB / 0.6858 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/0.752, allocations: 0.6875 kB / 0.6858 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002197/0.7542, allocations: 1.265 MB / 0.687 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002325/0.7566, allocations: 335.8 kB / 0.6874 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0086/0.7652, allocations: 4.186 MB / 0.6914 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002603/0.7678, allocations: 1.727 MB / 0.6931 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001842/0.7697, allocations: 0.5225 MB / 0.6936 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003004/0.77, allocations: 67.42 kB / 0.6937 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of SimCode: time 1.162e-06/0.77, allocations: 0 / 0.6937 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of Templates: time 0.0592/0.8292, allocations: 31.98 MB / 0.7249 GB, free: 7.359 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (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 & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)