Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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.FixedVoltageSource,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",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 3.106/3.106, allocations: 287.5 MB / 302.4 MB, free: 8.344 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.001306/0.001306, allocations: 176.5 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.315/2.315, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0009739/0.0009734, allocations: 98.91 kB / 0.743 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007338/0.0007342, allocations: 12.05 kB / 0.8659 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2227, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.003621/0.2264, allocations: 2.263 MB / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002845/0.2293, allocations: 1.354 MB / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.2296, allocations: 3.938 kB / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.2298, allocations: 19.84 kB / 0.982 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005008/0.2303, allocations: 107.5 kB / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006481/0.2309, allocations: 137.6 kB / 0.9823 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003762/0.2313, allocations: 259.2 kB / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000663/0.232, allocations: 222.3 kB / 0.9827 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002111/0.2322, allocations: 75.75 kB / 0.9828 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003143/0.2326, allocations: 99.66 kB / 0.9829 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.2326, allocations: 4 kB / 0.9829 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003556/0.233, allocations: 111.8 kB / 0.983 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.858e-05/0.2331, allocations: 51.88 kB / 0.983 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.596e-05/0.2332, allocations: 53.58 kB / 0.9831 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003595/0.2335, allocations: 211.4 kB / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.2336, allocations: 4 kB / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2336, allocations: 0 / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.2336, allocations: 0 / 0.9833 GB, free: 23.25 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007411/0.2343, allocations: 441.4 kB / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.2344, allocations: 12.03 kB / 0.9837 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.332e-05/0.2345, allocations: 50.55 kB / 0.9838 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007397/0.2352, allocations: 71.59 kB / 0.9838 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.2355, allocations: 222.8 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.2356, allocations: 8.281 kB / 0.9841 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.092e-05/0.2356, allocations: 19.91 kB / 0.9841 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005502/0.2362, allocations: 283.6 kB / 0.9844 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.2362, allocations: 0 / 0.9844 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/0.2363, allocations: 11.94 kB / 0.9844 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.182e-05/0.2363, allocations: 16.22 kB / 0.9844 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004904/0.2368, allocations: 208.4 kB / 0.9846 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.239, allocations: 1.584 MB / 0.9861 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005262/0.2395, allocations: 327.3 kB / 0.9864 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.2397, allocations: 65.62 kB / 0.9865 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.2397, allocations: 0 / 0.9865 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.2398, allocations: 34.56 kB / 0.9865 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.994e-06/0.2398, allocations: 0 / 0.9865 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0007455/0.2405, allocations: 240.6 kB / 0.9868 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.2406, allocations: 77.11 kB / 0.9868 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.2409, allocations: 203.3 kB / 0.987 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.2409, allocations: 33.7 kB / 0.9871 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.274e-05/0.241, allocations: 151.8 kB / 0.9872 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.241, allocations: 35.48 kB / 0.9872 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.638e-05/0.2411, allocations: 8 kB / 0.9872 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.163e-05/0.2411, allocations: 326.8 kB / 0.9876 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.2413, allocations: 72.08 kB / 0.9876 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.2415, allocations: 144.4 kB / 0.9878 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.2417, allocations: 95.89 kB / 0.9879 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2418, allocations: 0 / 0.9879 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005434/0.2423, allocations: 261.1 kB / 0.9881 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.41e-05/0.2424, allocations: 175.7 kB / 0.9883 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.2424, allocations: 4 kB / 0.9883 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.2425, allocations: 4 kB / 0.9883 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004062/0.2429, allocations: 51.91 kB / 0.9883 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.2429, allocations: 7.938 kB / 0.9883 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.2432, allocations: 15.98 kB / 0.9884 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/0.2432, allocations: 15.98 kB / 0.9884 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.2432, allocations: 4 kB / 0.9884 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004167/0.2437, allocations: 191.7 kB / 0.9886 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2437, allocations: 4 kB / 0.9886 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.587e-06/0.2437, allocations: 7.953 kB / 0.9886 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.244, allocations: 51.91 kB / 0.9886 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.244, allocations: 7.938 kB / 0.9886 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.2442, allocations: 11.89 kB / 0.9886 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.2442, allocations: 12 kB / 0.9886 GB, free: 17.29 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001678/0.2444, allocations: 225.3 kB / 0.9889 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.508e-05/0.2445, allocations: 11.91 kB / 0.9889 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003901/0.2449, allocations: 146.9 kB / 0.989 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.2449, allocations: 3.953 kB / 0.989 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.2449, allocations: 0 / 0.989 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.245, allocations: 3.938 kB / 0.989 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.2462, allocations: 0.7235 MB / 0.9897 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.2463, allocations: 8.125 kB / 0.9897 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.2465, allocations: 19.98 kB / 0.9898 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/0.2465, allocations: 4.344 kB / 0.9898 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.2465, allocations: 8 kB / 0.9898 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.2465, allocations: 4 kB / 0.9898 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.2465, allocations: 7.938 kB / 0.9898 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004114/0.247, allocations: 378.2 kB / 0.9901 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.2471, allocations: 108.9 kB / 0.9902 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/0.2471, allocations: 4 kB / 0.9902 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/0.2474, allocations: 15.98 kB / 0.9903 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.2475, allocations: 11.95 kB / 0.9903 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.2475, allocations: 4 kB / 0.9903 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001629/0.2477, allocations: 156.8 kB / 0.9904 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.61e-07/0.2477, allocations: 0 / 0.9904 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006941/0.2484, allocations: 68 kB / 0.9905 GB, free: 15.24 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007169/0.2491, allocations: 0.9223 MB / 0.9914 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006287/0.2498, allocations: 260.7 kB / 0.9916 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.2498, allocations: 0 / 0.9916 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.2499, allocations: 63.84 kB / 0.9917 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006551/0.2506, allocations: 32.11 kB / 0.9917 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.2528, allocations: 1.143 MB / 0.9928 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.2531, allocations: 0.7324 MB / 0.9936 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003583/0.2535, allocations: 73.47 kB / 0.9936 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.2536, allocations: 47.41 kB / 0.9937 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of SimCode: time 1.633e-06/0.2536, allocations: 0 / 0.9937 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/0.2826, allocations: 3.312 MB / 0.9969 GB, free: 8.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002821/0.283, allocations: 216.4 kB / 0.9971 GB, free: 8.426 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.668/2.951, allocations: 5.016 kB / 0.9971 GB, free: 8.426 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)