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.305/1.305, allocations: 251.5 MB / 266.7 MB, free: 10.99 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.0008667/0.0008668, allocations: 174.1 kB / 325.8 MB, free: 2.691 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.37/1.37, allocations: 205 MB / 0.576 GB, free: 20.97 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.0007164/0.0007169, allocations: 90.17 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003053/0.0003053, allocations: 8.594 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1815, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.009679/0.1912, allocations: 11.56 MB / 0.9075 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007013/0.1983, allocations: 5.553 MB / 0.9129 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000752/0.199, allocations: 31.94 kB / 0.913 GB, free: 50.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00209/0.2011, allocations: 0.9741 MB / 0.9139 GB, free: 49.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001257/0.2024, allocations: 0.6106 MB / 0.9145 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.2041, allocations: 0.8838 MB / 0.9154 GB, free: 48.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00228/0.2064, allocations: 3.773 MB / 0.9191 GB, free: 44.63 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003488/0.2099, allocations: 4.033 MB / 0.923 GB, free: 40.55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008871/0.2108, allocations: 0.7939 MB / 0.9238 GB, free: 39.76 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009734/0.2118, allocations: 1.117 MB / 0.9249 GB, free: 38.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001527/0.212, allocations: 100 kB / 0.925 GB, free: 38.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009581/0.2129, allocations: 0.5187 MB / 0.9255 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004859/0.2134, allocations: 0.7404 MB / 0.9262 GB, free: 37.28 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0006081/0.214, allocations: 0.8358 MB / 0.927 GB, free: 36.44 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002091/0.2161, allocations: 3.703 MB / 0.9306 GB, free: 32.72 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2162, allocations: 0 / 0.9306 GB, free: 32.72 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2162, allocations: 4 kB / 0.9306 GB, free: 32.72 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.188e-05/0.2162, allocations: 0 / 0.9306 GB, free: 32.72 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.002566/0.2188, allocations: 1.753 MB / 0.9323 GB, free: 30.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.2188, allocations: 12.03 kB / 0.9323 GB, free: 30.9 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002689/0.2191, allocations: 264.9 kB / 0.9326 GB, free: 30.63 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002598/0.2217, allocations: 0.748 MB / 0.9333 GB, free: 29.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/0.2235, allocations: 1.247 MB / 0.9345 GB, free: 28.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.787e-05/0.2236, allocations: 127.5 kB / 0.9347 GB, free: 28.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002135/0.2238, allocations: 159.9 kB / 0.9348 GB, free: 28.31 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00351/0.2273, allocations: 2.964 MB / 0.9377 GB, free: 25.28 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.809e-05/0.2274, allocations: 4 kB / 0.9377 GB, free: 25.28 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001478/0.2275, allocations: 60 kB / 0.9378 GB, free: 25.22 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003116/0.2278, allocations: 207 kB / 0.938 GB, free: 25.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002929/0.2308, allocations: 2.515 MB / 0.9404 GB, free: 22.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008941/0.2397, allocations: 10.9 MB / 0.9511 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009414/0.2407, allocations: 0.9238 MB / 0.952 GB, free: 9.734 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000522/0.2412, allocations: 0.509 MB / 0.9525 GB, free: 9.223 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.715e-05/0.2413, allocations: 85.48 kB / 0.9525 GB, free: 9.121 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.2414, allocations: 42.92 kB / 0.9526 GB, free: 9.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=46): time 2.294e-06/0.2414, allocations: 4 kB / 0.9526 GB, free: 9.066 MB / 0.6042 GB Notification: Performance of matching and sorting (n=70): time 0.02325/0.2646, allocations: 8.976 MB / 0.9614 GB, free: 8 kB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.212e-05/0.2648, allocations: 85.67 kB / 0.9614 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.2663, allocations: 0.9454 MB / 0.9624 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001625/0.2665, allocations: 37.7 kB / 0.9624 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005815/0.2671, allocations: 0.7736 MB / 0.9632 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002278/0.2674, allocations: 248.5 kB / 0.9634 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.2675, allocations: 89.67 kB / 0.9635 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.2677, allocations: 398.8 kB / 0.9639 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/0.2688, allocations: 0.7989 MB / 0.9646 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001354/0.2702, allocations: 1.164 MB / 0.9658 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002455/0.2727, allocations: 2.009 MB / 0.9677 GB, free: 9.098 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.2727, allocations: 8 kB / 0.9677 GB, free: 9.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009171/0.2819, allocations: 3.791 MB / 0.9714 GB, free: 5.277 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002174/0.2821, allocations: 417.1 kB / 0.9718 GB, free: 4.711 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.2821, allocations: 12 kB / 0.9719 GB, free: 4.699 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007961/0.2901, allocations: 2.17 MB / 0.974 GB, free: 2.523 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008688/0.291, allocations: 227.6 kB / 0.9742 GB, free: 2.301 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01402/0.305, allocations: 10.26 MB / 0.9842 GB, free: 7.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.3063, allocations: 203.5 kB / 0.9844 GB, free: 7.594 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.343e-05/0.3064, allocations: 51.98 kB / 0.9844 GB, free: 7.543 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.554e-06/0.3064, allocations: 4 kB / 0.9845 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007119/0.3136, allocations: 3.076 MB / 0.9875 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.3136, allocations: 8 kB / 0.9875 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005219/0.3188, allocations: 1.366 MB / 0.9888 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.3199, allocations: 283.5 kB / 0.9891 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00966/0.3295, allocations: 6.151 MB / 0.9951 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.3309, allocations: 175.7 kB / 0.9952 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.061e-05/0.331, allocations: 47.98 kB / 0.9953 GB, free: 12.3 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 (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.00122/0.3322, allocations: 0.9025 MB / 0.9962 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.3323, allocations: 82.97 kB / 0.9962 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008369/0.3407, allocations: 3.331 MB / 0.9995 GB, free: 7.949 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.3408, allocations: 8 kB / 0.9995 GB, free: 7.941 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.3408, allocations: 4 kB / 0.9995 GB, free: 7.938 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/0.3408, allocations: 0 / 0.9995 GB, free: 7.938 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01121/0.352, allocations: 5.497 MB / 1.005 GB, free: 2.324 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/0.3521, allocations: 0 / 1.005 GB, free: 2.324 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004017/0.3525, allocations: 116 kB / 1.005 GB, free: 2.211 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007048/0.3595, allocations: 1.979 MB / 1.007 GB, free: 232 kB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-05/0.3597, allocations: 12 kB / 1.007 GB, free: 220 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01242/0.3721, allocations: 9.658 MB / 1.016 GB, free: 6.285 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.3721, allocations: 7.969 kB / 1.016 GB, free: 6.277 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008019/0.3801, allocations: 3.209 MB / 1.02 GB, free: 3.02 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005693/0.3807, allocations: 320.1 kB / 1.02 GB, free: 2.688 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.3809, allocations: 19.91 kB / 1.02 GB, free: 2.668 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008296/0.3817, allocations: 159.7 kB / 1.02 GB, free: 2.512 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002772/0.382, allocations: 64.41 kB / 1.02 GB, free: 2.449 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.263e-05/0.3821, allocations: 16 kB / 1.02 GB, free: 2.434 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007873/0.3829, allocations: 0.6785 MB / 1.021 GB, free: 1.762 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3829, allocations: 0 / 1.021 GB, free: 1.762 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001859/0.3847, allocations: 0.6797 MB / 1.021 GB, free: 1.082 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 (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.008442/0.3932, allocations: 3.801 MB / 1.025 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006846/0.4001, allocations: 3.92 MB / 1.029 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/0.4001, allocations: 12.31 kB / 1.029 GB, free: 9.25 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001971/0.4021, allocations: 1.305 MB / 1.03 GB, free: 7.914 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.4034, allocations: 253.1 kB / 1.03 GB, free: 7.672 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03331/0.4368, allocations: 17.45 MB / 1.048 GB, free: 5.699 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001714/0.4385, allocations: 1.722 MB / 1.049 GB, free: 3.945 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001317/0.4398, allocations: 0.5109 MB / 1.05 GB, free: 3.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006409/0.4405, allocations: 0.5032 MB / 1.05 GB, free: 2.926 MB / 0.698 GB Notification: Performance of SimCode: time 5.91e-07/0.4405, allocations: 0 / 1.05 GB, free: 2.926 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.26/1.701, allocations: 41.73 MB / 1.091 GB, free: 130 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002205/1.701, allocations: 277.6 kB / 1.091 GB, free: 129.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.897/4.598, allocations: 0.875 kB / 1.091 GB, free: 129.6 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)