Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001206, allocations: 103.1 kB / 16.4 MB, free: 6.48 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.001253/0.001253, allocations: 189.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7474/0.7474, allocations: 115.3 MB / 406.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 65.3 kB / 0.5572 GB, free: 32.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1735, allocations: 76.18 MB / 0.6316 GB, free: 5.023 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.003948/0.1775, allocations: 2.616 MB / 0.6341 GB, free: 2.391 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002416/0.18, allocations: 1.575 MB / 0.6357 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.1801, allocations: 4 kB / 0.6357 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000713/0.1808, allocations: 175.2 kB / 0.6358 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000331/0.1811, allocations: 155.3 kB / 0.636 GB, free: 488 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003933/0.1816, allocations: 186.1 kB / 0.6362 GB, free: 304 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002671/0.1818, allocations: 215.3 kB / 0.6364 GB, free: 88 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002974/0.1821, allocations: 131.8 kB / 0.6365 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.1823, allocations: 83.64 kB / 0.6366 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.1825, allocations: 103.7 kB / 0.6367 GB, free: 15.78 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.275e-05/0.1826, allocations: 12 kB / 0.6367 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002899/0.1828, allocations: 211.5 kB / 0.6369 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.894e-05/0.1829, allocations: 63.88 kB / 0.6369 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.773e-05/0.183, allocations: 87.58 kB / 0.637 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003617/0.1834, allocations: 303.9 kB / 0.6373 GB, free: 15.11 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1834, allocations: 0 / 0.6373 GB, free: 15.11 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1834, allocations: 4 kB / 0.6373 GB, free: 15.11 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1834, allocations: 0 / 0.6373 GB, free: 15.11 MB / 494.1 MB 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.0006754/0.1841, allocations: 479.1 kB / 0.6378 GB, free: 14.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.1842, allocations: 8.031 kB / 0.6378 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.033e-05/0.1842, allocations: 50.73 kB / 0.6378 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007349/0.185, allocations: 84.64 kB / 0.6379 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.1853, allocations: 238.9 kB / 0.6381 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.1853, allocations: 12.64 kB / 0.6382 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.682e-05/0.1853, allocations: 12.38 kB / 0.6382 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004755/0.1858, allocations: 299.3 kB / 0.6385 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.1858, allocations: 4 kB / 0.6385 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.1859, allocations: 7.984 kB / 0.6385 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.329e-05/0.1859, allocations: 16.22 kB / 0.6385 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004082/0.1863, allocations: 224.4 kB / 0.6387 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.1881, allocations: 1.591 MB / 0.6403 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003863/0.1885, allocations: 315.3 kB / 0.6406 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.857e-05/0.1886, allocations: 69.78 kB / 0.6406 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.1887, allocations: 7.984 kB / 0.6406 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.1887, allocations: 30.56 kB / 0.6407 GB, free: 11.36 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.1887, allocations: 0 / 0.6407 GB, free: 11.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005466/0.1893, allocations: 244.5 kB / 0.6409 GB, free: 11.12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.1893, allocations: 81.11 kB / 0.641 GB, free: 11.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.1896, allocations: 211.6 kB / 0.6412 GB, free: 10.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.1896, allocations: 29.7 kB / 0.6412 GB, free: 10.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.951e-05/0.1897, allocations: 151.6 kB / 0.6413 GB, free: 10.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.1898, allocations: 43.44 kB / 0.6414 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.953e-05/0.1898, allocations: 49.64 kB / 0.6414 GB, free: 10.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.19, allocations: 322.8 kB / 0.6417 GB, free: 10.19 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.1901, allocations: 92.73 kB / 0.6418 GB, free: 10.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.1904, allocations: 154.6 kB / 0.642 GB, free: 9.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.1907, allocations: 234.9 kB / 0.6422 GB, free: 9.641 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1907, allocations: 0 / 0.6422 GB, free: 9.641 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004955/0.1912, allocations: 277.1 kB / 0.6425 GB, free: 9.363 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.1912, allocations: 8 kB / 0.6425 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1912, allocations: 0 / 0.6425 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.1913, allocations: 7.938 kB / 0.6425 GB, free: 9.348 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.1915, allocations: 55.89 kB / 0.6425 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.1915, allocations: 4.375 kB / 0.6425 GB, free: 9.289 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.1918, allocations: 27.92 kB / 0.6426 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.1918, allocations: 12.11 kB / 0.6426 GB, free: 9.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002034/0.192, allocations: 172.1 kB / 0.6427 GB, free: 9.078 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001972/0.1922, allocations: 155.9 kB / 0.6429 GB, free: 8.883 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002902/0.1925, allocations: 219.8 kB / 0.6431 GB, free: 8.625 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.1925, allocations: 0 / 0.6431 GB, free: 8.625 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004497/0.193, allocations: 257.3 kB / 0.6433 GB, free: 8.367 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/0.193, allocations: 8 kB / 0.6433 GB, free: 8.359 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.193, allocations: 4 kB / 0.6434 GB, free: 8.355 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.187e-06/0.193, allocations: 4.047 kB / 0.6434 GB, free: 8.352 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.1933, allocations: 55.83 kB / 0.6434 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1933, allocations: 4 kB / 0.6434 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.1935, allocations: 23.97 kB / 0.6434 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.1935, allocations: 8 kB / 0.6434 GB, free: 8.262 MB / 494.1 MB 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.0001198/0.1936, allocations: 196.2 kB / 0.6436 GB, free: 8.062 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.794e-05/0.1937, allocations: 19.81 kB / 0.6436 GB, free: 8.043 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.1939, allocations: 150.9 kB / 0.6438 GB, free: 7.883 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.194, allocations: 0 / 0.6438 GB, free: 7.883 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.194, allocations: 4 kB / 0.6438 GB, free: 7.879 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.194, allocations: 0 / 0.6438 GB, free: 7.879 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009458/0.1949, allocations: 0.7196 MB / 0.6445 GB, free: 7.074 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1949, allocations: 0 / 0.6445 GB, free: 7.074 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.1951, allocations: 32.27 kB / 0.6445 GB, free: 7.043 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1951, allocations: 8 kB / 0.6445 GB, free: 7.035 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.1951, allocations: 4 kB / 0.6445 GB, free: 7.031 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.1951, allocations: 0 / 0.6445 GB, free: 7.031 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1951, allocations: 4 kB / 0.6445 GB, free: 7.027 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003354/0.1954, allocations: 390.3 kB / 0.6449 GB, free: 6.602 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.1955, allocations: 108.9 kB / 0.645 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.1956, allocations: 4 kB / 0.645 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.1958, allocations: 19.92 kB / 0.645 GB, free: 6.453 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.1958, allocations: 19.86 kB / 0.6451 GB, free: 6.434 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.1959, allocations: 4 kB / 0.6451 GB, free: 6.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001739/0.196, allocations: 160.8 kB / 0.6452 GB, free: 6.273 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.196, allocations: 0 / 0.6452 GB, free: 6.273 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000487/0.1965, allocations: 72 kB / 0.6453 GB, free: 6.203 MB / 494.1 MB 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.0006348/0.1972, allocations: 0.9143 MB / 0.6462 GB, free: 5.234 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005021/0.1977, allocations: 279.9 kB / 0.6464 GB, free: 4.961 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.1977, allocations: 0 / 0.6464 GB, free: 4.961 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.173e-05/0.1978, allocations: 65.64 kB / 0.6465 GB, free: 4.898 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.1982, allocations: 35.88 kB / 0.6465 GB, free: 4.867 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002901/0.2012, allocations: 2.345 MB / 0.6488 GB, free: 2.316 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.2016, allocations: 0.7363 MB / 0.6496 GB, free: 1.551 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002206/0.2018, allocations: 81.47 kB / 0.6496 GB, free: 1.469 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.878e-05/0.2019, allocations: 43.53 kB / 0.6497 GB, free: 1.426 MB / 494.1 MB Notification: Performance of SimCode: time 2.925e-06/0.202, allocations: 3.938 kB / 0.6497 GB, free: 1.422 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02158/0.2235, allocations: 3.761 MB / 0.6534 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.046/8.269, allocations: 5.266 kB / 0.6534 GB, free: 13.81 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)