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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.624/1.624, allocations: 287.4 MB / 302.6 MB, free: 8.285 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.0009878/0.0009879, allocations: 172.5 kB / 371.1 MB, free: 10.85 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.509/1.509, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.0006651/0.000665, allocations: 92.91 kB / 0.7431 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004385/0.0004385, allocations: 12.02 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2026, allocations: 115.3 MB / 0.9788 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.003034/0.2057, allocations: 3.102 MB / 0.9818 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001947/0.2076, allocations: 1.65 MB / 0.9834 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.2078, allocations: 7.938 kB / 0.9834 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001694/0.2079, allocations: 35.7 kB / 0.9834 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003777/0.2083, allocations: 143.3 kB / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.2088, allocations: 195.5 kB / 0.9838 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002989/0.2091, allocations: 418.6 kB / 0.9842 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005874/0.2097, allocations: 410.9 kB / 0.9845 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.2098, allocations: 139.5 kB / 0.9847 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.2101, allocations: 163.4 kB / 0.9848 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.215e-05/0.2101, allocations: 12 kB / 0.9848 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.2103, allocations: 143.8 kB / 0.985 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.848e-05/0.2104, allocations: 79.77 kB / 0.9851 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.288e-05/0.2105, allocations: 69.58 kB / 0.9851 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.2108, allocations: 347.1 kB / 0.9855 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2108, allocations: 3.938 kB / 0.9855 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2108, allocations: 0 / 0.9855 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.85e-06/0.2108, allocations: 4 kB / 0.9855 GB, free: 21.18 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.0008913/0.2117, allocations: 0.5925 MB / 0.986 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.2117, allocations: 16.03 kB / 0.9861 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.948e-05/0.2118, allocations: 62.72 kB / 0.9861 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005751/0.2124, allocations: 92.47 kB / 0.9862 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.2126, allocations: 287.4 kB / 0.9865 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.2126, allocations: 12.81 kB / 0.9865 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.843e-05/0.2127, allocations: 20.38 kB / 0.9865 GB, free: 20 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006427/0.2134, allocations: 430.7 kB / 0.9869 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.2134, allocations: 0 / 0.9869 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.2134, allocations: 15.94 kB / 0.9869 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.723e-05/0.2135, allocations: 24.36 kB / 0.987 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000742/0.2142, allocations: 412.8 kB / 0.9874 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.2156, allocations: 1.619 MB / 0.9889 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.2166, allocations: 482.8 kB / 0.9894 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003823/0.217, allocations: 209.6 kB / 0.9896 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001771/0.2172, allocations: 97.03 kB / 0.9897 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005028/0.2177, allocations: 270.5 kB / 0.9899 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 2.625e-06/0.2177, allocations: 0 / 0.9899 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.001758/0.2195, allocations: 0.7849 MB / 0.9907 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.2195, allocations: 85.09 kB / 0.9908 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.2197, allocations: 225 kB / 0.991 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.2197, allocations: 33.7 kB / 0.991 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.98e-05/0.2198, allocations: 172.2 kB / 0.9912 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.334e-05/0.2199, allocations: 98.69 kB / 0.9913 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.712e-05/0.2199, allocations: 4 kB / 0.9913 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.252e-05/0.22, allocations: 330.8 kB / 0.9916 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003497/0.2203, allocations: 184.2 kB / 0.9918 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003547/0.2207, allocations: 253.3 kB / 0.992 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007057/0.2214, allocations: 486.9 kB / 0.9925 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2214, allocations: 4 kB / 0.9925 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009175/0.2224, allocations: 0.5561 MB / 0.993 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.887e-05/0.2224, allocations: 182.5 kB / 0.9932 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.2225, allocations: 4 kB / 0.9932 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002179/0.2227, allocations: 44.81 kB / 0.9933 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.2231, allocations: 87.86 kB / 0.9934 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001065/0.2241, allocations: 1.493 MB / 0.9948 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003088/0.2245, allocations: 59.86 kB / 0.9949 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.2245, allocations: 11.98 kB / 0.9949 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.35e-06/0.2245, allocations: 4 kB / 0.9949 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008863/0.2254, allocations: 0.5021 MB / 0.9954 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.2254, allocations: 4 kB / 0.9954 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001088/0.2255, allocations: 40.77 kB / 0.9954 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003152/0.2259, allocations: 91.8 kB / 0.9955 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008282/0.2267, allocations: 1.473 MB / 0.9969 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/0.227, allocations: 63.77 kB / 0.997 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.227, allocations: 12 kB / 0.997 GB, free: 8.539 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.0002027/0.2272, allocations: 241 kB / 0.9972 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.2273, allocations: 23.72 kB / 0.9973 GB, free: 8.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008861/0.2282, allocations: 497.2 kB / 0.9977 GB, free: 7.781 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.2282, allocations: 3.984 kB / 0.9977 GB, free: 7.777 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2282, allocations: 4 kB / 0.9978 GB, free: 7.773 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.2282, allocations: 0 / 0.9978 GB, free: 7.773 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004702/0.2287, allocations: 0.5738 MB / 0.9983 GB, free: 7.137 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2287, allocations: 4 kB / 0.9983 GB, free: 7.133 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003374/0.229, allocations: 79.86 kB / 0.9984 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001061/0.2291, allocations: 36.83 kB / 0.9984 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.2292, allocations: 4 kB / 0.9984 GB, free: 7.012 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007438/0.2299, allocations: 1.417 MB / 0.9998 GB, free: 5.461 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2299, allocations: 0 / 0.9998 GB, free: 5.461 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008072/0.2307, allocations: 0.5692 MB / 1 GB, free: 4.863 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.2309, allocations: 132.6 kB / 1 GB, free: 4.715 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.2309, allocations: 12 kB / 1.001 GB, free: 4.703 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002737/0.2312, allocations: 39.95 kB / 1.001 GB, free: 4.664 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.45e-05/0.2313, allocations: 35.94 kB / 1.001 GB, free: 4.629 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.2313, allocations: 11.94 kB / 1.001 GB, free: 4.617 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001171/0.2315, allocations: 176.4 kB / 1.001 GB, free: 4.441 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2315, allocations: 4 kB / 1.001 GB, free: 4.438 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005006/0.232, allocations: 124 kB / 1.001 GB, free: 4.316 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.001047/0.233, allocations: 1.11 MB / 1.002 GB, free: 3.168 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001536/0.2346, allocations: 1.004 MB / 1.003 GB, free: 2.113 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.2346, allocations: 4.188 kB / 1.003 GB, free: 2.109 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004921/0.2351, allocations: 342.3 kB / 1.003 GB, free: 1.762 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.2355, allocations: 48.53 kB / 1.003 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002732/0.2383, allocations: 1.99 MB / 1.005 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.2386, allocations: 0.7878 MB / 1.006 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002957/0.2389, allocations: 102.2 kB / 1.006 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.239, allocations: 83.41 kB / 1.006 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of SimCode: time 4.91e-07/0.239, allocations: 7.938 kB / 1.006 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5878/0.8268, allocations: 6.572 MB / 1.013 GB, free: 8.32 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002809/0.8271, allocations: 239.7 kB / 1.013 GB, free: 8.062 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.386/3.213, allocations: 0 / 1.013 GB, free: 8.062 MB / 0.6355 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)