Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009524/0.0009523, allocations: 99 kB / 15.05 MB, free: 1.105 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.000966/0.000966, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.4 MB / 222.1 MB, free: 5.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.69/1.69, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.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.0005063/0.0005063, allocations: 12.84 kB / 0.6735 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.255, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.004169/0.2592, allocations: 3.036 MB / 0.7901 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00267/0.2619, allocations: 1.626 MB / 0.7917 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002065/0.2622, allocations: 7.938 kB / 0.7917 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.2623, allocations: 27.78 kB / 0.7917 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004409/0.2628, allocations: 135.6 kB / 0.7918 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005558/0.2634, allocations: 194.9 kB / 0.792 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003229/0.2637, allocations: 223.5 kB / 0.7922 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007145/0.2644, allocations: 386.5 kB / 0.7926 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.2646, allocations: 119.6 kB / 0.7927 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002338/0.2649, allocations: 127.5 kB / 0.7928 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.467e-05/0.2649, allocations: 12 kB / 0.7929 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002502/0.2652, allocations: 139.8 kB / 0.793 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.208e-05/0.2652, allocations: 71.8 kB / 0.7931 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.244e-05/0.2653, allocations: 73.58 kB / 0.7931 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003797/0.2657, allocations: 351.3 kB / 0.7935 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2657, allocations: 0 / 0.7935 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2657, allocations: 0 / 0.7935 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.2657, allocations: 0 / 0.7935 GB, free: 5.426 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001109/0.2669, allocations: 0.6018 MB / 0.794 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.2669, allocations: 8.031 kB / 0.7941 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007009/0.2676, allocations: 119.5 kB / 0.7942 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.268, allocations: 262.3 kB / 0.7944 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.268, allocations: 20.42 kB / 0.7944 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.252e-05/0.2681, allocations: 20 kB / 0.7945 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000761/0.2688, allocations: 426.5 kB / 0.7949 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.2689, allocations: 0 / 0.7949 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.586e-05/0.2689, allocations: 12 kB / 0.7949 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.461e-05/0.269, allocations: 20.36 kB / 0.7949 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008604/0.2698, allocations: 420.7 kB / 0.7953 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001879/0.2717, allocations: 1.607 MB / 0.7969 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.2728, allocations: 487.6 kB / 0.7973 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001637/0.273, allocations: 105 kB / 0.7974 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005653/0.2736, allocations: 278.5 kB / 0.7977 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=27): time 2.304e-06/0.2736, allocations: 0 / 0.7977 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of matching and sorting (n=28): time 0.001851/0.2754, allocations: 0.783 MB / 0.7985 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.2755, allocations: 81.11 kB / 0.7985 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.2757, allocations: 220.9 kB / 0.7987 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.2758, allocations: 41.62 kB / 0.7988 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.2759, allocations: 160.4 kB / 0.7989 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.568e-05/0.276, allocations: 98.58 kB / 0.799 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.27e-05/0.276, allocations: 12 kB / 0.799 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.2762, allocations: 334.8 kB / 0.7994 GB, free: 15 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004017/0.2766, allocations: 188.1 kB / 0.7995 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000435/0.277, allocations: 249.3 kB / 0.7998 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004556/0.2775, allocations: 237.8 kB / 0.8 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.2775, allocations: 0 / 0.8 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00111/0.2786, allocations: 0.5488 MB / 0.8005 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004813/0.2791, allocations: 0.9214 MB / 0.8014 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.2791, allocations: 0 / 0.8014 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002691/0.2794, allocations: 40.81 kB / 0.8015 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003801/0.2798, allocations: 87.88 kB / 0.8016 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.2813, allocations: 1.505 MB / 0.803 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/0.2816, allocations: 55.86 kB / 0.8031 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.2817, allocations: 16 kB / 0.8031 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/0.2817, allocations: 4 kB / 0.8031 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001031/0.2827, allocations: 0.4942 MB / 0.8036 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2827, allocations: 4 kB / 0.8036 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001225/0.2829, allocations: 48.75 kB / 0.8036 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003413/0.2832, allocations: 79.88 kB / 0.8037 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.2845, allocations: 1.501 MB / 0.8052 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/0.2848, allocations: 51.92 kB / 0.8052 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.2848, allocations: 12 kB / 0.8052 GB, free: 8.559 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002485/0.2851, allocations: 244.9 kB / 0.8055 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.136e-05/0.2851, allocations: 23.72 kB / 0.8055 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.2862, allocations: 492.5 kB / 0.806 GB, free: 7.797 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.2862, allocations: 4 kB / 0.806 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2862, allocations: 4.125 kB / 0.806 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.2862, allocations: 4 kB / 0.806 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007521/0.287, allocations: 0.5699 MB / 0.8065 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.287, allocations: 0 / 0.8065 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003542/0.2873, allocations: 75.92 kB / 0.8066 GB, free: 7.078 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000118/0.2875, allocations: 40.83 kB / 0.8067 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.2875, allocations: 4.094 kB / 0.8067 GB, free: 7.031 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.2886, allocations: 1.429 MB / 0.8081 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.2886, allocations: 3.938 kB / 0.8081 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009572/0.2896, allocations: 0.6017 MB / 0.8086 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.2897, allocations: 140.6 kB / 0.8088 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/0.2898, allocations: 8 kB / 0.8088 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000295/0.2901, allocations: 39.95 kB / 0.8088 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.2902, allocations: 43.78 kB / 0.8089 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.2902, allocations: 12 kB / 0.8089 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001597/0.2904, allocations: 168.5 kB / 0.809 GB, free: 4.391 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2904, allocations: 0 / 0.809 GB, free: 4.391 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005683/0.291, allocations: 132 kB / 0.8092 GB, free: 4.262 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001962/0.2912, allocations: 111.2 kB / 0.8093 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001923/0.2931, allocations: 1.009 MB / 0.8103 GB, free: 3.082 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.2931, allocations: 0 / 0.8103 GB, free: 3.082 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000596/0.2937, allocations: 338.8 kB / 0.8106 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.2941, allocations: 40.41 kB / 0.8106 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.2952, allocations: 0.7372 MB / 0.8113 GB, free: 1.934 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.2956, allocations: 0.7956 MB / 0.8121 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002687/0.2959, allocations: 102.4 kB / 0.8122 GB, free: 1 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.884e-05/0.296, allocations: 23.44 kB / 0.8122 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of SimCode: time 4e-07/0.296, allocations: 0 / 0.8122 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of Templates: time 0.007579/0.3036, allocations: 4.03 MB / 0.8162 GB, free: 12.98 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1) Environment - environmentSimulation: