Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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: translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001409, allocations: 100.1 kB / 16.35 MB, free: 5.828 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.001523/0.001523, allocations: 194.5 kB / 17.29 MB, free: 5.484 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002121/0.002122, allocations: 292.5 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9277/0.9277, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 88.53 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1505, allocations: 86.99 MB / 0.6816 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.003991/0.1545, allocations: 2.601 MB / 0.6841 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002158/0.1567, allocations: 1.422 MB / 0.6855 GB, free: 3.387 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.003e-05/0.1568, allocations: 7.938 kB / 0.6855 GB, free: 3.379 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007208/0.1576, allocations: 171.3 kB / 0.6857 GB, free: 3.211 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000293/0.1579, allocations: 135.4 kB / 0.6858 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003935/0.1583, allocations: 186.6 kB / 0.686 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000267/0.1585, allocations: 215.3 kB / 0.6862 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002885/0.1588, allocations: 125 kB / 0.6863 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.159, allocations: 91.67 kB / 0.6864 GB, free: 2.477 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002552/0.1592, allocations: 103.5 kB / 0.6865 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.1593, allocations: 12 kB / 0.6865 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002731/0.1596, allocations: 187.6 kB / 0.6867 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.267e-05/0.1596, allocations: 63.88 kB / 0.6868 GB, free: 2.117 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.372e-05/0.1597, allocations: 75.59 kB / 0.6868 GB, free: 2.043 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.1601, allocations: 287.2 kB / 0.6871 GB, free: 1.762 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1601, allocations: 0 / 0.6871 GB, free: 1.762 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1601, allocations: 0 / 0.6871 GB, free: 1.762 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1601, allocations: 0 / 0.6871 GB, free: 1.762 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006109/0.1607, allocations: 483 kB / 0.6876 GB, free: 1.238 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.1607, allocations: 8.031 kB / 0.6876 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005012/0.1612, allocations: 68.67 kB / 0.6877 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.1615, allocations: 224.1 kB / 0.6879 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.1616, allocations: 12.64 kB / 0.6879 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.1616, allocations: 12.38 kB / 0.6879 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003847/0.162, allocations: 283.6 kB / 0.6882 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.162, allocations: 0 / 0.6882 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.162, allocations: 8 kB / 0.6882 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.156e-05/0.1621, allocations: 16.22 kB / 0.6882 GB, free: 0.543 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003081/0.1624, allocations: 213.2 kB / 0.6884 GB, free: 344 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2501/0.4125, allocations: 1.569 MB / 0.6899 GB, free: 17.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003408/0.4129, allocations: 316.5 kB / 0.6902 GB, free: 16.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.811e-05/0.413, allocations: 70.73 kB / 0.6903 GB, free: 16.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.413, allocations: 8.594 kB / 0.6903 GB, free: 16.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.444e-05/0.413, allocations: 32.84 kB / 0.6903 GB, free: 16.87 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 2.134e-06/0.4131, allocations: 3.094 kB / 0.6903 GB, free: 16.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005408/0.4136, allocations: 239.1 kB / 0.6906 GB, free: 16.81 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.4136, allocations: 82.14 kB / 0.6906 GB, free: 16.71 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.4138, allocations: 200.4 kB / 0.6908 GB, free: 16.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.4138, allocations: 26.86 kB / 0.6909 GB, free: 16.58 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/0.4139, allocations: 153.7 kB / 0.691 GB, free: 16.46 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.414, allocations: 40.95 kB / 0.691 GB, free: 16.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.636e-05/0.414, allocations: 45.94 kB / 0.6911 GB, free: 16.42 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.913e-05/0.4141, allocations: 326.9 kB / 0.6914 GB, free: 16.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.4142, allocations: 72.81 kB / 0.6915 GB, free: 16.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.4144, allocations: 150.2 kB / 0.6916 GB, free: 16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/0.4146, allocations: 239.8 kB / 0.6918 GB, free: 15.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4146, allocations: 0.6562 kB / 0.6918 GB, free: 15.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000414/0.415, allocations: 262.3 kB / 0.6921 GB, free: 15.83 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.4151, allocations: 11.58 kB / 0.6921 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.4151, allocations: 5.391 kB / 0.6921 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.4151, allocations: 7.656 kB / 0.6921 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.4153, allocations: 46.84 kB / 0.6922 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.4154, allocations: 8.734 kB / 0.6922 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.4155, allocations: 18.67 kB / 0.6922 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.4156, allocations: 15.45 kB / 0.6922 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001392/0.4157, allocations: 159 kB / 0.6924 GB, free: 15.74 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001203/0.4158, allocations: 150.7 kB / 0.6925 GB, free: 15.61 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000192/0.416, allocations: 214.1 kB / 0.6927 GB, free: 15.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.525e-06/0.416, allocations: 1.812 kB / 0.6927 GB, free: 15.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003224/0.4164, allocations: 243.3 kB / 0.6929 GB, free: 15.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/0.4164, allocations: 7.719 kB / 0.6929 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.4164, allocations: 2.875 kB / 0.6929 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.169e-06/0.4164, allocations: 7.656 kB / 0.693 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.4166, allocations: 51.58 kB / 0.693 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4166, allocations: 5.953 kB / 0.693 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.4167, allocations: 9.531 kB / 0.693 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.4167, allocations: 18.06 kB / 0.693 GB, free: 15.32 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.081e-05/0.4168, allocations: 189 kB / 0.6932 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.4169, allocations: 18.97 kB / 0.6932 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.4171, allocations: 148.8 kB / 0.6934 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.4171, allocations: 2.016 kB / 0.6934 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4171, allocations: 1.281 kB / 0.6934 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4171, allocations: 2.156 kB / 0.6934 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008349/0.418, allocations: 0.7232 MB / 0.6941 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.418, allocations: 7.312 kB / 0.6941 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.4181, allocations: 26.5 kB / 0.6941 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.4181, allocations: 3.969 kB / 0.6941 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.4181, allocations: 15.52 kB / 0.6941 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.4181, allocations: 4.531 kB / 0.6941 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.4181, allocations: 6.094 kB / 0.6941 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.4184, allocations: 369.7 kB / 0.6945 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-05/0.4185, allocations: 107.2 kB / 0.6946 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.4185, allocations: 11.84 kB / 0.6946 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.4187, allocations: 15.14 kB / 0.6946 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.4187, allocations: 8.625 kB / 0.6946 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.4187, allocations: 9.5 kB / 0.6946 GB, free: 14.05 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.4188, allocations: 150.4 kB / 0.6948 GB, free: 13.95 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4188, allocations: 0 / 0.6948 GB, free: 13.95 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005079/0.4194, allocations: 67.38 kB / 0.6948 GB, free: 13.95 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001184/0.4195, allocations: 118.6 kB / 0.695 GB, free: 13.84 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004116/0.4199, allocations: 269.3 kB / 0.6952 GB, free: 13.76 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4199, allocations: 1.531 kB / 0.6952 GB, free: 13.76 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.733e-05/0.42, allocations: 65.59 kB / 0.6953 GB, free: 13.74 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.4205, allocations: 35.36 kB / 0.6953 GB, free: 13.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006292/0.4211, allocations: 418.7 kB / 0.6957 GB, free: 13.43 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/0.4213, allocations: 0.7339 MB / 0.6964 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000195/0.4215, allocations: 74.55 kB / 0.6965 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.113e-05/0.4216, allocations: 17.91 kB / 0.6965 GB, free: 12.72 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4216, allocations: 0 / 0.6965 GB, free: 12.72 MB / 494.1 MB Notification: Performance of Templates: time 0.004693/0.4263, allocations: 1.749 MB / 0.6982 GB, free: 12.62 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)