Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.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.0107/0.0107, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.001741/0.001741, allocations: 187.4 kB / 16.67 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.1 MB / 222.6 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.691/1.691, allocations: 251.7 MB / 0.5094 GB, free: 3.066 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 75.88 kB / 0.7258 GB, free: 9.047 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3043, allocations: 104.7 MB / 0.828 GB, free: 240 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.004723/0.3091, allocations: 2.63 MB / 0.8306 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002668/0.3118, allocations: 1.477 MB / 0.832 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.312, allocations: 3.938 kB / 0.8321 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008179/0.3128, allocations: 175.3 kB / 0.8322 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003652/0.3132, allocations: 127.5 kB / 0.8323 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005389/0.3138, allocations: 187.5 kB / 0.8325 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003032/0.3141, allocations: 215.3 kB / 0.8327 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003159/0.3144, allocations: 117 kB / 0.8328 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.3145, allocations: 91.67 kB / 0.8329 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002684/0.3148, allocations: 103.6 kB / 0.833 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.3149, allocations: 12 kB / 0.833 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003129/0.3152, allocations: 179.6 kB / 0.8332 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.494e-05/0.3153, allocations: 71.86 kB / 0.8333 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.527e-05/0.3154, allocations: 71.61 kB / 0.8333 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003759/0.3158, allocations: 283.2 kB / 0.8336 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.453e-06/0.3158, allocations: 4 kB / 0.8336 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3158, allocations: 0 / 0.8336 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.3158, allocations: 0 / 0.8336 GB, free: 10.49 MB / 0.6544 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.0008381/0.3166, allocations: 479 kB / 0.8341 GB, free: 9.977 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.3167, allocations: 8.031 kB / 0.8341 GB, free: 9.969 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005519/0.3173, allocations: 68.58 kB / 0.8341 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.3176, allocations: 232 kB / 0.8344 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.3176, allocations: 12.66 kB / 0.8344 GB, free: 9.625 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.092e-05/0.3177, allocations: 16.36 kB / 0.8344 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004921/0.3182, allocations: 275.6 kB / 0.8347 GB, free: 9.305 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.3182, allocations: 4 kB / 0.8347 GB, free: 9.301 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.3182, allocations: 4 kB / 0.8347 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.341e-05/0.3183, allocations: 20.22 kB / 0.8347 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003445/0.3186, allocations: 204.5 kB / 0.8349 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.3206, allocations: 1.584 MB / 0.8364 GB, free: 7.355 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004784/0.3211, allocations: 323.2 kB / 0.8367 GB, free: 6.984 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.3213, allocations: 61.69 kB / 0.8368 GB, free: 6.918 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.3213, allocations: 7.938 kB / 0.8368 GB, free: 6.91 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.3213, allocations: 34.55 kB / 0.8368 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.3214, allocations: 4 kB / 0.8368 GB, free: 6.863 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0007054/0.3221, allocations: 248.6 kB / 0.8371 GB, free: 6.613 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.074e-05/0.3221, allocations: 81.09 kB / 0.8372 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.3224, allocations: 195.4 kB / 0.8373 GB, free: 6.316 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.3224, allocations: 29.7 kB / 0.8374 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.3226, allocations: 155.6 kB / 0.8375 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/0.3226, allocations: 31.55 kB / 0.8375 GB, free: 6.094 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.3227, allocations: 57.59 kB / 0.8376 GB, free: 6.031 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000201/0.3229, allocations: 327 kB / 0.8379 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.3231, allocations: 80.75 kB / 0.838 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.3233, allocations: 148.7 kB / 0.8381 GB, free: 5.438 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.3236, allocations: 230.9 kB / 0.8384 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3236, allocations: 4 kB / 0.8384 GB, free: 5.168 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004561/0.3241, allocations: 261.1 kB / 0.8386 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.3241, allocations: 4 kB / 0.8386 GB, free: 4.902 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.3241, allocations: 4 kB / 0.8386 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.658e-05/0.3242, allocations: 7.938 kB / 0.8386 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.3244, allocations: 51.91 kB / 0.8387 GB, free: 4.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.746e-05/0.3244, allocations: 7.984 kB / 0.8387 GB, free: 4.832 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.3246, allocations: 20.27 kB / 0.8387 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.3246, allocations: 16 kB / 0.8387 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002089/0.3248, allocations: 156.1 kB / 0.8389 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001519/0.325, allocations: 142.6 kB / 0.839 GB, free: 4.461 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002682/0.3253, allocations: 227.8 kB / 0.8392 GB, free: 4.195 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.677e-06/0.3253, allocations: 0 / 0.8392 GB, free: 4.195 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004295/0.3257, allocations: 241.1 kB / 0.8394 GB, free: 3.953 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/0.3257, allocations: 4 kB / 0.8394 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3258, allocations: 4 kB / 0.8395 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.829e-06/0.3258, allocations: 4 kB / 0.8395 GB, free: 3.941 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.3259, allocations: 47.91 kB / 0.8395 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.3259, allocations: 11.88 kB / 0.8395 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.3261, allocations: 20.3 kB / 0.8395 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.3261, allocations: 16 kB / 0.8395 GB, free: 3.848 MB / 0.6544 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.0001881/0.3263, allocations: 192.1 kB / 0.8397 GB, free: 3.652 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.611e-05/0.3264, allocations: 11.91 kB / 0.8397 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003319/0.3267, allocations: 143 kB / 0.8399 GB, free: 3.496 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.3267, allocations: 7.969 kB / 0.8399 GB, free: 3.488 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.3267, allocations: 4 kB / 0.8399 GB, free: 3.484 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3268, allocations: 0 / 0.8399 GB, free: 3.484 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.3279, allocations: 0.7157 MB / 0.8406 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.3279, allocations: 8.281 kB / 0.8406 GB, free: 2.676 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.328, allocations: 31.92 kB / 0.8406 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.328, allocations: 4.125 kB / 0.8406 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.3281, allocations: 8 kB / 0.8406 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.3281, allocations: 3.984 kB / 0.8406 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.3281, allocations: 7.938 kB / 0.8407 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003707/0.3285, allocations: 382.1 kB / 0.841 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.3286, allocations: 108.8 kB / 0.8411 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.239e-05/0.3286, allocations: 11.98 kB / 0.8411 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.3288, allocations: 8 kB / 0.8411 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.3288, allocations: 15.92 kB / 0.8412 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.3288, allocations: 4 kB / 0.8412 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001274/0.329, allocations: 147.7 kB / 0.8413 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.329, allocations: 0 / 0.8413 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005123/0.3295, allocations: 68 kB / 0.8414 GB, free: 1.828 MB / 0.6544 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.0001965/0.3297, allocations: 117.8 kB / 0.8415 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004726/0.3302, allocations: 264.7 kB / 0.8417 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.3302, allocations: 448 / 0.8417 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.48e-05/0.3303, allocations: 67.83 kB / 0.8418 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005059/0.3308, allocations: 41.22 kB / 0.8418 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009004/0.3317, allocations: 414.3 kB / 0.8422 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004788/0.3322, allocations: 0.7361 MB / 0.8429 GB, free: 128 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001881/0.3324, allocations: 73.47 kB / 0.843 GB, free: 52 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.632e-05/0.3325, allocations: 19.42 kB / 0.843 GB, free: 32 kB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.3325, allocations: 0 / 0.843 GB, free: 32 kB / 0.6544 GB Notification: Performance of Templates: time 0.005503/0.338, allocations: 1.785 MB / 0.8448 GB, free: 14.29 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)