Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.0007723/0.0007724, allocations: 91.14 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00453/0.00453, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.286/1.286, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00166/0.00166, allocations: 270.8 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9483/0.9483, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003827, allocations: 13.41 kB / 0.5988 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1277, allocations: 88.54 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01343/0.1411, allocations: 13.41 MB / 0.6983 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01222/0.1534, allocations: 9.262 MB / 0.7074 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009626/0.1544, allocations: 51.62 kB / 0.7074 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008105/0.1552, allocations: 273.8 kB / 0.7077 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003274/0.1585, allocations: 1.41 MB / 0.7091 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.16, allocations: 0.6811 MB / 0.7097 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003204/0.1632, allocations: 3.195 MB / 0.7129 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00302/0.1662, allocations: 1.972 MB / 0.7148 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001343/0.1676, allocations: 0.8674 MB / 0.7156 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001622/0.1692, allocations: 1.058 MB / 0.7167 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000255/0.1695, allocations: 72 kB / 0.7167 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00151/0.171, allocations: 0.8577 MB / 0.7176 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005508/0.1716, allocations: 0.51 MB / 0.7181 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001087/0.1727, allocations: 0.8486 MB / 0.7189 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002688/0.1754, allocations: 2.666 MB / 0.7215 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1754, allocations: 4 kB / 0.7215 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1754, allocations: 0 / 0.7215 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.51e-05/0.1754, allocations: 0 / 0.7215 GB, free: 9.676 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003679/0.1791, allocations: 1.818 MB / 0.7233 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.1792, allocations: 8.031 kB / 0.7233 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003155/0.1795, allocations: 194.4 kB / 0.7235 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01197/0.1915, allocations: 2.152 MB / 0.7256 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00229/0.1938, allocations: 1.197 MB / 0.7267 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.608e-05/0.1939, allocations: 94.73 kB / 0.7268 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002964/0.1942, allocations: 119.9 kB / 0.7269 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00584/0.2, allocations: 2.703 MB / 0.7296 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.074e-05/0.2001, allocations: 7.938 kB / 0.7296 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001735/0.2002, allocations: 55.98 kB / 0.7296 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006408/0.2009, allocations: 178.1 kB / 0.7298 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007838/0.2087, allocations: 2.85 MB / 0.7326 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01376/0.2225, allocations: 10.57 MB / 0.7429 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00684/0.2294, allocations: 2.574 MB / 0.7454 GB, free: 248 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003191/0.2326, allocations: 1.315 MB / 0.7467 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.551e-05/0.2326, allocations: 12.94 kB / 0.7467 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.2327, allocations: 47.56 kB / 0.7468 GB, free: 14.85 MB / 0.545 GB Notification: Performance of pre-optimization done (n=89): time 2.314e-06/0.2327, allocations: 0 / 0.7468 GB, free: 14.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=131): time 0.04614/0.2788, allocations: 13.45 MB / 0.7599 GB, free: 1.191 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.2789, allocations: 64.72 kB / 0.76 GB, free: 1.117 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.2803, allocations: 1.121 MB / 0.7611 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001302/0.2804, allocations: 45.7 kB / 0.7611 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004906/0.2809, allocations: 0.7155 MB / 0.7618 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003935/0.2813, allocations: 457.4 kB / 0.7622 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/0.2815, allocations: 105.7 kB / 0.7623 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.2817, allocations: 365.9 kB / 0.7627 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003344/0.285, allocations: 1.362 MB / 0.764 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003501/0.2886, allocations: 1.62 MB / 0.7656 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007006/0.2956, allocations: 3.037 MB / 0.7686 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.2956, allocations: 4 kB / 0.7686 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01153/0.3071, allocations: 4.486 MB / 0.773 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.3072, allocations: 8 kB / 0.773 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.3072, allocations: 8 kB / 0.773 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005207/0.3124, allocations: 1.427 MB / 0.7744 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002068/0.3145, allocations: 455.2 kB / 0.7748 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.268/0.5825, allocations: 24.55 MB / 0.7988 GB, free: 70.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002456/0.585, allocations: 313.1 kB / 0.7991 GB, free: 70.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.5852, allocations: 64.3 kB / 0.7991 GB, free: 70.36 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006855/0.5858, allocations: 440.6 kB / 0.7996 GB, free: 70.08 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/0.5861, allocations: 161.6 kB / 0.7997 GB, free: 70.08 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01106/0.5971, allocations: 4.5 MB / 0.8041 GB, free: 68.64 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.5972, allocations: 11.91 kB / 0.8041 GB, free: 68.64 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-05/0.5972, allocations: 14.47 kB / 0.8041 GB, free: 68.64 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.5972, allocations: 6.281 kB / 0.8041 GB, free: 68.64 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01323/0.6104, allocations: 6.819 MB / 0.8108 GB, free: 66.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.6105, allocations: 6.469 kB / 0.8108 GB, free: 66.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001866/0.6123, allocations: 393 kB / 0.8112 GB, free: 66.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004673/0.617, allocations: 1.312 MB / 0.8125 GB, free: 65.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/0.6172, allocations: 41.2 kB / 0.8125 GB, free: 65.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01785/0.635, allocations: 23.52 MB / 0.8355 GB, free: 44.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.6351, allocations: 3.156 kB / 0.8355 GB, free: 44.65 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009666/0.6447, allocations: 4.245 MB / 0.8396 GB, free: 42.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007387/0.6455, allocations: 459.9 kB / 0.8401 GB, free: 41.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002914/0.6458, allocations: 31.89 kB / 0.8401 GB, free: 41.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002051/0.6479, allocations: 312.6 kB / 0.8404 GB, free: 41.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003766/0.6483, allocations: 123.8 kB / 0.8405 GB, free: 41.63 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/0.6484, allocations: 51.41 kB / 0.8406 GB, free: 41.61 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008189/0.6492, allocations: 0.7594 MB / 0.8413 GB, free: 41.19 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6492, allocations: 0 / 0.8413 GB, free: 41.19 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001846/0.6511, allocations: 0.5689 MB / 0.8418 GB, free: 41.13 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009579/0.6606, allocations: 4.836 MB / 0.8466 GB, free: 38.14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00953/0.6702, allocations: 5.155 MB / 0.8516 GB, free: 33.14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.6702, allocations: 0 / 0.8516 GB, free: 33.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005705/0.6759, allocations: 3.507 MB / 0.855 GB, free: 29.47 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002811/0.6788, allocations: 0.5042 MB / 0.8555 GB, free: 28.98 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03647/0.7152, allocations: 21.09 MB / 0.8761 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000898/0.7162, allocations: 1.47 MB / 0.8775 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001524/0.7177, allocations: 429.6 kB / 0.878 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007354/0.7185, allocations: 0.6242 MB / 0.8786 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of SimCode: time 9.41e-07/0.7185, allocations: 4 kB / 0.8786 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07147/0.7899, allocations: 49.06 MB / 0.9265 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/0.7901, allocations: 256.8 kB / 0.9267 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.773/3.563, allocations: 7.375 kB / 0.9267 GB, free: 4.031 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)