Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.727/1.727, allocations: 292.3 MB / 308.1 MB, free: 4.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001208/0.001208, allocations: 180.5 kB / 376.9 MB, free: 1.836 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205 MB / 0.6354 GB, free: 9.805 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 96.62 kB / 0.748 GB, free: 61.33 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 55.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3331, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.005521/0.3387, allocations: 2.689 MB / 0.9849 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002931/0.3417, allocations: 1.477 MB / 0.9863 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002226/0.3419, allocations: 0 / 0.9863 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0008512/0.3428, allocations: 167.4 kB / 0.9865 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0005074/0.3433, allocations: 111.6 kB / 0.9866 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006292/0.344, allocations: 175.5 kB / 0.9867 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0005517/0.3446, allocations: 315.2 kB / 0.987 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003959/0.345, allocations: 121.3 kB / 0.9871 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.3452, allocations: 83.69 kB / 0.9872 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003469/0.3456, allocations: 111.6 kB / 0.9873 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.3456, allocations: 8 kB / 0.9873 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004654/0.3461, allocations: 215.6 kB / 0.9875 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.3462, allocations: 63.8 kB / 0.9876 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.3463, allocations: 79.59 kB / 0.9877 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005585/0.3469, allocations: 283 kB / 0.988 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3469, allocations: 0 / 0.988 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.91e-07/0.3469, allocations: 0 / 0.988 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.3469, allocations: 0 / 0.988 GB, free: 4.504 MB / 0.7136 GB 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.0009702/0.3479, allocations: 479.2 kB / 0.9884 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.348, allocations: 11.97 kB / 0.9884 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000663/0.3486, allocations: 60.69 kB / 0.9885 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.349, allocations: 232 kB / 0.9887 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.349, allocations: 12.64 kB / 0.9887 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.804e-05/0.3491, allocations: 16.38 kB / 0.9887 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004684/0.3496, allocations: 283.6 kB / 0.989 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.3496, allocations: 3.938 kB / 0.989 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.3496, allocations: 11.98 kB / 0.989 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.64e-05/0.3497, allocations: 16.22 kB / 0.989 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003558/0.35, allocations: 208.5 kB / 0.9892 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002147/0.3522, allocations: 1.572 MB / 0.9908 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004639/0.3527, allocations: 327.3 kB / 0.9911 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.3528, allocations: 61.69 kB / 0.9911 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.3528, allocations: 4.141 kB / 0.9911 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.3529, allocations: 38.5 kB / 0.9912 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.3529, allocations: 0 / 0.9912 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0006678/0.3536, allocations: 240.5 kB / 0.9914 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.3536, allocations: 89.28 kB / 0.9915 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.3539, allocations: 191.5 kB / 0.9917 GB, free: 340 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3539, allocations: 29.7 kB / 0.9917 GB, free: 304 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.354, allocations: 151.7 kB / 0.9918 GB, free: 148 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.392e-05/0.3541, allocations: 43.38 kB / 0.9919 GB, free: 104 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.3542, allocations: 61.53 kB / 0.9919 GB, free: 36 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.3544, allocations: 322.8 kB / 0.9923 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.3545, allocations: 76.81 kB / 0.9923 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.3547, allocations: 147.1 kB / 0.9925 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002977/0.355, allocations: 234.9 kB / 0.9927 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.355, allocations: 3.938 kB / 0.9927 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003974/0.3554, allocations: 253.5 kB / 0.9929 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.3554, allocations: 8 kB / 0.9929 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.3555, allocations: 4 kB / 0.9929 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.3555, allocations: 7.938 kB / 0.993 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.3557, allocations: 47.91 kB / 0.993 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.3557, allocations: 11.92 kB / 0.993 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.3559, allocations: 15.98 kB / 0.993 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.3559, allocations: 12 kB / 0.993 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001619/0.3561, allocations: 160.1 kB / 0.9932 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001712/0.3563, allocations: 152 kB / 0.9933 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002959/0.3566, allocations: 219.8 kB / 0.9935 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.34e-06/0.3566, allocations: 4 kB / 0.9936 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003815/0.357, allocations: 237.4 kB / 0.9938 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.357, allocations: 8 kB / 0.9938 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.357, allocations: 4 kB / 0.9938 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.874e-06/0.357, allocations: 4 kB / 0.9938 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.3572, allocations: 51.84 kB / 0.9938 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.517e-06/0.3573, allocations: 7.938 kB / 0.9938 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.3574, allocations: 15.98 kB / 0.9939 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.3574, allocations: 12 kB / 0.9939 GB, free: 13.86 MB / 0.7292 GB 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 0.0001669/0.3576, allocations: 201.8 kB / 0.9941 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.028e-05/0.3577, allocations: 15.98 kB / 0.9941 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002917/0.358, allocations: 143 kB / 0.9942 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.358, allocations: 15.86 kB / 0.9942 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.358, allocations: 0 / 0.9942 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.358, allocations: 0 / 0.9942 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.3591, allocations: 0.7196 MB / 0.9949 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.3591, allocations: 4 kB / 0.9949 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.3592, allocations: 23.98 kB / 0.995 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3592, allocations: 352 / 0.995 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.3593, allocations: 8 kB / 0.995 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.3593, allocations: 11.92 kB / 0.995 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.3593, allocations: 4 kB / 0.995 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000876/0.3602, allocations: 0.996 MB / 0.996 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.3603, allocations: 104.9 kB / 0.9961 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.3603, allocations: 11.94 kB / 0.9961 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.3605, allocations: 11.98 kB / 0.9961 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.343e-05/0.3606, allocations: 11.98 kB / 0.9961 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.3606, allocations: 4 kB / 0.9961 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001466/0.3607, allocations: 152.8 kB / 0.9962 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.3607, allocations: 0 / 0.9962 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007143/0.3615, allocations: 71.94 kB / 0.9963 GB, free: 11.16 MB / 0.7292 GB 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.0002013/0.3617, allocations: 119.1 kB / 0.9964 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004323/0.3621, allocations: 264.7 kB / 0.9967 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3621, allocations: 0 / 0.9967 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.478e-05/0.3622, allocations: 60.22 kB / 0.9967 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000467/0.3627, allocations: 31.97 kB / 0.9968 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008936/0.3636, allocations: 0.6076 MB / 0.9974 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.364, allocations: 0.7363 MB / 0.9981 GB, free: 9.258 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002181/0.3642, allocations: 77.47 kB / 0.9982 GB, free: 9.18 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.12e-05/0.3643, allocations: 15.44 kB / 0.9982 GB, free: 9.164 MB / 0.7292 GB Notification: Performance of SimCode: time 2.21e-07/0.3643, allocations: 0 / 0.9982 GB, free: 9.164 MB / 0.7292 GB Notification: Performance of Templates: time 0.005323/0.3696, allocations: 1.747 MB / 0.9999 GB, free: 7.426 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)