Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 102.9 kB / 16.27 MB, free: 5.922 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.001418/0.001418, allocations: 186.3 kB / 17.19 MB, free: 5.559 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.319/1.319, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002134/0.002134, allocations: 282.8 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9279/0.9279, allocations: 169.3 MB / 0.4988 GB, free: 4.5 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 101.9 kB / 0.5959 GB, free: 15.17 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1544, allocations: 86.97 MB / 0.6808 GB, free: 8.203 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.2669/0.4214, allocations: 16.69 MB / 0.6971 GB, free: 11.17 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009611/0.4311, allocations: 6.262 MB / 0.7033 GB, free: 6.941 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.4327, allocations: 56.5 kB / 0.7033 GB, free: 6.926 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003246/0.436, allocations: 1.3 MB / 0.7046 GB, free: 6.145 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002215/0.4382, allocations: 0.835 MB / 0.7054 GB, free: 5.664 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003847/0.4421, allocations: 1.544 MB / 0.7069 GB, free: 4.812 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004826/0.4469, allocations: 3.849 MB / 0.7107 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005988/0.4529, allocations: 5.007 MB / 0.7156 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002662/0.4556, allocations: 1.638 MB / 0.7172 GB, free: 452 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003128/0.4588, allocations: 1.983 MB / 0.7191 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007/0.4595, allocations: 379.9 kB / 0.7194 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002005/0.4615, allocations: 0.825 MB / 0.7203 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001915/0.4634, allocations: 1.495 MB / 0.7217 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002129/0.4656, allocations: 1.532 MB / 0.7232 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00621/0.4718, allocations: 5.508 MB / 0.7286 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4718, allocations: 0 / 0.7286 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.784e-06/0.4718, allocations: 0 / 0.7286 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001303/0.472, allocations: 5.031 kB / 0.7286 GB, free: 10.41 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.007038/0.479, allocations: 2.725 MB / 0.7313 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.4791, allocations: 12.59 kB / 0.7313 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004017/0.4831, allocations: 0.7755 MB / 0.732 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002491/0.4856, allocations: 1.404 MB / 0.7334 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.4857, allocations: 196.2 kB / 0.7336 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000424/0.4862, allocations: 246.5 kB / 0.7338 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007427/0.4936, allocations: 4.588 MB / 0.7383 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.982e-05/0.4937, allocations: 12 kB / 0.7383 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003045/0.494, allocations: 114.1 kB / 0.7384 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000225/0.4942, allocations: 177.7 kB / 0.7386 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006241/0.5005, allocations: 3.835 MB / 0.7423 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02325/0.5238, allocations: 21.42 MB / 0.7633 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002558/0.5263, allocations: 2.247 MB / 0.7655 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.5274, allocations: 0.7237 MB / 0.7662 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.858e-05/0.5274, allocations: 12.86 kB / 0.7662 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.5275, allocations: 54.48 kB / 0.7662 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.455e-06/0.5275, allocations: 0 / 0.7662 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68): time 0.005656/0.5331, allocations: 4.197 MB / 0.7703 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.5333, allocations: 240.5 kB / 0.7705 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/0.5348, allocations: 1.116 MB / 0.7716 GB, free: 428 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.659e-05/0.5349, allocations: 33.7 kB / 0.7717 GB, free: 388 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007659/0.5357, allocations: 1.188 MB / 0.7728 GB, free: 15.17 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00025/0.5359, allocations: 252.6 kB / 0.7731 GB, free: 14.92 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004804/0.5364, allocations: 335 kB / 0.7734 GB, free: 14.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.5366, allocations: 341.9 kB / 0.7737 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.5376, allocations: 0.7113 MB / 0.7744 GB, free: 13.53 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001473/0.5391, allocations: 1.407 MB / 0.7758 GB, free: 11.79 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002477/0.5416, allocations: 2.155 MB / 0.7779 GB, free: 9.309 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/0.5416, allocations: 4 kB / 0.7779 GB, free: 9.305 MB / 0.545 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003161/0.5448, allocations: 2.18 MB / 0.78 GB, free: 7.117 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.5448, allocations: 20.12 kB / 0.78 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.542e-05/0.5449, allocations: 28 kB / 0.7801 GB, free: 7.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.087e-05/0.5449, allocations: 32 kB / 0.7801 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.5463, allocations: 435.2 kB / 0.7805 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.685e-05/0.5464, allocations: 43.86 kB / 0.7806 GB, free: 6.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.5476, allocations: 199.3 kB / 0.7807 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.5477, allocations: 79.98 kB / 0.7808 GB, free: 6.297 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002379/0.5501, allocations: 1.554 MB / 0.7823 GB, free: 4.738 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00132/0.5515, allocations: 1.325 MB / 0.7836 GB, free: 3.066 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002163/0.5536, allocations: 1.985 MB / 0.7856 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.088e-05/0.5536, allocations: 11.94 kB / 0.7856 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.002845/0.5565, allocations: 1.98 MB / 0.7875 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.5565, allocations: 18.34 kB / 0.7875 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/0.5566, allocations: 24 kB / 0.7876 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.188e-05/0.5566, allocations: 39.94 kB / 0.7876 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.5578, allocations: 391.3 kB / 0.788 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.764e-05/0.5578, allocations: 51.78 kB / 0.788 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.559, allocations: 151.7 kB / 0.7882 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.5591, allocations: 87.98 kB / 0.7882 GB, free: 13.98 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (192): * Single equations (assignments): 192 * 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 0.0003415/0.5594, allocations: 287.6 kB / 0.7885 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003016/0.5598, allocations: 110.7 kB / 0.7886 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/0.5614, allocations: 1.09 MB / 0.7897 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.5614, allocations: 12 kB / 0.7897 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.5614, allocations: 4 kB / 0.7897 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.5614, allocations: 7.984 kB / 0.7897 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01315/0.5746, allocations: 10.17 MB / 0.7996 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.908e-05/0.5747, allocations: 16 kB / 0.7997 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006562/0.5753, allocations: 191.6 kB / 0.7998 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-05/0.5753, allocations: 20 kB / 0.7999 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.199e-05/0.5754, allocations: 28 kB / 0.7999 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.794e-05/0.5754, allocations: 27.92 kB / 0.7999 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.841e-05/0.5755, allocations: 27.88 kB / 0.7999 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00226/0.5777, allocations: 2.166 MB / 0.8021 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005702/0.5783, allocations: 319.6 kB / 0.8024 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/0.5785, allocations: 35.98 kB / 0.8024 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009672/0.5795, allocations: 95.88 kB / 0.8025 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.5796, allocations: 99.55 kB / 0.8026 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.378e-05/0.5797, allocations: 36 kB / 0.8026 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001044/0.5807, allocations: 0.7697 MB / 0.8034 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5808, allocations: 4 kB / 0.8034 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002993/0.5838, allocations: 0.7227 MB / 0.8041 GB, free: 13.24 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (74): * Single equations (assignments): 74 * 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.0002284/0.584, allocations: 154.9 kB / 0.8042 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003685/0.5877, allocations: 2.519 MB / 0.8067 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/0.5877, allocations: 3.938 kB / 0.8067 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007796/0.5885, allocations: 0.5732 MB / 0.8073 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/0.5906, allocations: 262.2 kB / 0.8075 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007375/0.598, allocations: 4.865 MB / 0.8123 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002005/0.6, allocations: 2.074 MB / 0.8143 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004742/0.6005, allocations: 99.41 kB / 0.8144 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of SimCode: time 1.172e-06/0.6005, allocations: 0 / 0.8144 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of Templates: time 0.03621/0.6367, allocations: 25.06 MB / 0.8389 GB, free: 9.477 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)