Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.705/1.705, allocations: 287.5 MB / 302.6 MB, free: 8.242 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.001305/0.001305, allocations: 182.5 kB / 371.2 MB, free: 10.81 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.56/1.56, allocations: 205.4 MB / 0.6299 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007873/0.0007876, allocations: 91.97 kB / 0.7432 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004122/0.0004127, allocations: 12.03 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2168, allocations: 115.3 MB / 0.9787 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.003496/0.2204, allocations: 3.098 MB / 0.9817 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002296/0.2227, allocations: 1.65 MB / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002264/0.223, allocations: 7.938 kB / 0.9833 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002161/0.2232, allocations: 39.7 kB / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005164/0.2238, allocations: 151.3 kB / 0.9835 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000631/0.2244, allocations: 179.5 kB / 0.9837 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004782/0.2249, allocations: 426.7 kB / 0.9841 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007856/0.2257, allocations: 410.8 kB / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000282/0.226, allocations: 127.5 kB / 0.9846 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003617/0.2263, allocations: 171.4 kB / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.931e-05/0.2264, allocations: 16 kB / 0.9848 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003622/0.2268, allocations: 151.7 kB / 0.9849 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.2269, allocations: 83.72 kB / 0.985 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.772e-05/0.227, allocations: 65.58 kB / 0.9851 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004316/0.2274, allocations: 351 kB / 0.9854 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.2275, allocations: 0 / 0.9854 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2275, allocations: 0 / 0.9854 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.2275, allocations: 0 / 0.9854 GB, free: 21.23 MB / 0.6198 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.00116/0.2286, allocations: 0.5981 MB / 0.986 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.2287, allocations: 8.031 kB / 0.986 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000672/0.2294, allocations: 100.5 kB / 0.9861 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.2297, allocations: 279.5 kB / 0.9864 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.2297, allocations: 16.8 kB / 0.9864 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.677e-05/0.2298, allocations: 24.38 kB / 0.9864 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006794/0.2305, allocations: 430.9 kB / 0.9868 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.2305, allocations: 0 / 0.9868 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/0.2305, allocations: 8 kB / 0.9868 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-05/0.2306, allocations: 24.36 kB / 0.9868 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007917/0.2314, allocations: 412.7 kB / 0.9872 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.233, allocations: 1.619 MB / 0.9888 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.234, allocations: 481.1 kB / 0.9893 GB, free: 17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004855/0.2345, allocations: 205.6 kB / 0.9895 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001723/0.2347, allocations: 89.09 kB / 0.9896 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000492/0.2352, allocations: 286.4 kB / 0.9898 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 2.315e-06/0.2352, allocations: 0 / 0.9898 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.001685/0.2369, allocations: 0.7849 MB / 0.9906 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.237, allocations: 85.05 kB / 0.9907 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.2372, allocations: 221 kB / 0.9909 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.2372, allocations: 33.7 kB / 0.9909 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.98e-05/0.2373, allocations: 164.4 kB / 0.9911 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.821e-05/0.2373, allocations: 98.62 kB / 0.9912 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.807e-05/0.2374, allocations: 4 kB / 0.9912 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.656e-05/0.2374, allocations: 338.8 kB / 0.9915 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003551/0.2378, allocations: 180.2 kB / 0.9917 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003687/0.2382, allocations: 253.3 kB / 0.9919 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007555/0.2389, allocations: 482.9 kB / 0.9924 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2389, allocations: 0 / 0.9924 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009549/0.2399, allocations: 0.5677 MB / 0.9929 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.707e-05/0.24, allocations: 182.6 kB / 0.9931 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.24, allocations: 3.938 kB / 0.9931 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002199/0.2402, allocations: 40.83 kB / 0.9931 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003659/0.2406, allocations: 95.8 kB / 0.9932 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001012/0.2416, allocations: 1.497 MB / 0.9947 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000308/0.242, allocations: 47.8 kB / 0.9947 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.242, allocations: 16 kB / 0.9948 GB, free: 11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.131e-06/0.242, allocations: 4 kB / 0.9948 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009138/0.2429, allocations: 0.4904 MB / 0.9952 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.243, allocations: 4 kB / 0.9952 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001137/0.2431, allocations: 40.81 kB / 0.9953 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.2434, allocations: 91.97 kB / 0.9954 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008266/0.2442, allocations: 1.497 MB / 0.9968 GB, free: 8.727 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/0.2445, allocations: 47.8 kB / 0.9969 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.2446, allocations: 16 kB / 0.9969 GB, free: 8.664 MB / 0.6198 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.0001716/0.2447, allocations: 237.1 kB / 0.9971 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.2448, allocations: 31.64 kB / 0.9971 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008994/0.2457, allocations: 497.1 kB / 0.9976 GB, free: 7.902 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.2457, allocations: 8 kB / 0.9976 GB, free: 7.895 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.2457, allocations: 0 / 0.9976 GB, free: 7.895 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2457, allocations: 0 / 0.9976 GB, free: 7.895 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005273/0.2463, allocations: 0.566 MB / 0.9982 GB, free: 7.266 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.2463, allocations: 0 / 0.9982 GB, free: 7.266 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003431/0.2466, allocations: 87.95 kB / 0.9983 GB, free: 7.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001051/0.2467, allocations: 36.81 kB / 0.9983 GB, free: 7.141 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.2468, allocations: 8 kB / 0.9983 GB, free: 7.133 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007232/0.2475, allocations: 1.417 MB / 0.9997 GB, free: 5.582 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2475, allocations: 0 / 0.9997 GB, free: 5.582 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008181/0.2483, allocations: 0.5654 MB / 1 GB, free: 4.988 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.2485, allocations: 136.6 kB / 1 GB, free: 4.836 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.2485, allocations: 11.94 kB / 1 GB, free: 4.824 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/0.2488, allocations: 39.95 kB / 1 GB, free: 4.785 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.2489, allocations: 35.95 kB / 1 GB, free: 4.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.249, allocations: 8 kB / 1 GB, free: 4.742 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001395/0.2491, allocations: 176.5 kB / 1.001 GB, free: 4.566 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2491, allocations: 0 / 1.001 GB, free: 4.566 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005779/0.2497, allocations: 135.9 kB / 1.001 GB, free: 4.434 MB / 0.6198 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.0001578/0.2499, allocations: 111.2 kB / 1.001 GB, free: 4.316 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00165/0.2515, allocations: 1.008 MB / 1.002 GB, free: 3.258 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2515, allocations: 3.938 kB / 1.002 GB, free: 3.254 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000513/0.2521, allocations: 338.9 kB / 1.002 GB, free: 2.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.2525, allocations: 44.34 kB / 1.002 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.2535, allocations: 0.7452 MB / 1.003 GB, free: 2.082 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.2538, allocations: 0.78 MB / 1.004 GB, free: 1.277 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002946/0.2541, allocations: 98.23 kB / 1.004 GB, free: 1.184 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.166e-05/0.2542, allocations: 39.3 kB / 1.004 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of SimCode: time 3e-07/0.2542, allocations: 0 / 1.004 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of Templates: time 0.008384/0.2626, allocations: 4.031 MB / 1.008 GB, free: 13.16 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)