Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-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(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",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.0009486/0.0009486, allocations: 111.7 kB / 16.03 MB, free: 6.316 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.00103/0.00103, allocations: 192.4 kB / 16.95 MB, free: 6.145 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.266/1.266, allocations: 222.9 MB / 240.6 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04135/0.04135, allocations: 8.098 MB / 298.9 MB, free: 6.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.91 kB / 361.3 MB, free: 8.391 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1805, allocations: 51.52 MB / 412.8 MB, free: 25.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.002273/0.1828, allocations: 1.656 MB / 414.5 MB, free: 24.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.1844, allocations: 1.536 MB / 416 MB, free: 22.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.1845, allocations: 4 kB / 416 MB, free: 22.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003242/0.1848, allocations: 115.5 kB / 416.1 MB, free: 22.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002853/0.1851, allocations: 123.4 kB / 416.3 MB, free: 22.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.1864, allocations: 0.9768 MB / 417.2 MB, free: 21.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.1866, allocations: 246.8 kB / 417.5 MB, free: 21.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.1867, allocations: 76.22 kB / 417.6 MB, free: 21.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.949e-05/0.1868, allocations: 107.6 kB / 417.7 MB, free: 20.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.1869, allocations: 123.4 kB / 417.8 MB, free: 20.78 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.187, allocations: 20 kB / 417.8 MB, free: 20.76 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002652/0.1872, allocations: 239.7 kB / 418 MB, free: 20.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.895e-05/0.1873, allocations: 47.83 kB / 418.1 MB, free: 20.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.811e-05/0.1874, allocations: 119.3 kB / 418.2 MB, free: 20.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003145/0.1877, allocations: 413.1 kB / 418.6 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1877, allocations: 4 kB / 418.6 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1877, allocations: 0 / 418.6 MB, free: 19.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1877, allocations: 0 / 418.6 MB, free: 19.96 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002939/0.1906, allocations: 0.9988 MB / 419.6 MB, free: 18.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.1907, allocations: 11.89 kB / 419.6 MB, free: 18.89 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.561e-05/0.1907, allocations: 50.73 kB / 419.7 MB, free: 18.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.779e-05/0.1908, allocations: 28.66 kB / 419.7 MB, free: 18.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.191, allocations: 255.9 kB / 419.9 MB, free: 18.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.191, allocations: 16.69 kB / 420 MB, free: 18.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.1911, allocations: 24.31 kB / 420 MB, free: 18.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/0.1914, allocations: 298.6 kB / 420.3 MB, free: 18.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.1914, allocations: 3.938 kB / 420.3 MB, free: 18.17 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.1915, allocations: 4 kB / 420.3 MB, free: 18.17 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-06/0.1915, allocations: 4 kB / 420.3 MB, free: 18.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002681/0.1917, allocations: 251.9 kB / 420.5 MB, free: 17.92 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.1929, allocations: 1.176 MB / 421.7 MB, free: 16.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004538/0.1933, allocations: 310.4 kB / 422 MB, free: 16.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.1935, allocations: 152.8 kB / 422.2 MB, free: 16.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.639e-05/0.1935, allocations: 4 kB / 422.2 MB, free: 16.15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.399e-05/0.1936, allocations: 46.5 kB / 422.2 MB, free: 16.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.272e-06/0.1936, allocations: 0 / 422.2 MB, free: 16.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.003309/0.1969, allocations: 1.074 MB / 423.3 MB, free: 14.99 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.1969, allocations: 106.8 kB / 423.4 MB, free: 14.86 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.1971, allocations: 214.9 kB / 423.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.1971, allocations: 29.7 kB / 423.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.338e-05/0.1972, allocations: 136.8 kB / 423.8 MB, free: 14.47 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.1972, allocations: 82.75 kB / 423.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.422e-05/0.1973, allocations: 73.59 kB / 423.9 MB, free: 14.31 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.719e-05/0.1973, allocations: 330.8 kB / 424.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.1975, allocations: 180.2 kB / 424.4 MB, free: 13.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.1978, allocations: 218.4 kB / 424.6 MB, free: 13.58 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004041/0.1982, allocations: 373.5 kB / 425 MB, free: 13.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1982, allocations: 8 kB / 425 MB, free: 13.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001765/0.1999, allocations: 0.7436 MB / 425.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.2, allocations: 10.34 kB / 425.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-06/0.2, allocations: 0 / 425.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001824/0.2018, allocations: 420.4 kB / 426.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.202, allocations: 63.89 kB / 426.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003211/0.2052, allocations: 2.733 MB / 429 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.2055, allocations: 39.67 kB / 429 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.2055, allocations: 12 kB / 429 MB, free: 9.047 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.2056, allocations: 141.8 kB / 429.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.078e-05/0.2057, allocations: 23.72 kB / 429.2 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/0.2075, allocations: 0.7028 MB / 429.9 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2075, allocations: 0 / 429.9 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.2075, allocations: 0 / 429.9 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.2075, allocations: 7.938 kB / 429.9 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.2077, allocations: 389.2 kB / 430.3 MB, free: 7.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2077, allocations: 0 / 430.3 MB, free: 7.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.2079, allocations: 35.92 kB / 430.3 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001793/0.2097, allocations: 420.4 kB / 430.7 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.2097, allocations: 11.94 kB / 430.7 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003016/0.2127, allocations: 2.695 MB / 433.4 MB, free: 4.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2127, allocations: 0 / 433.4 MB, free: 4.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.2145, allocations: 0.7429 MB / 434.2 MB, free: 3.668 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.689e-05/0.2145, allocations: 100.8 kB / 434.3 MB, free: 3.551 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.903e-05/0.2145, allocations: 12 kB / 434.3 MB, free: 3.539 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.2148, allocations: 23.92 kB / 434.3 MB, free: 3.516 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.779e-05/0.2149, allocations: 19.97 kB / 434.3 MB, free: 3.496 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.2149, allocations: 16 kB / 434.3 MB, free: 3.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.215, allocations: 156.4 kB / 434.5 MB, free: 3.328 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.215, allocations: 0 / 434.5 MB, free: 3.328 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000377/0.2154, allocations: 107.9 kB / 434.6 MB, free: 3.223 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001875/0.2173, allocations: 1.298 MB / 435.9 MB, free: 1.895 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.2185, allocations: 0.6351 MB / 436.5 MB, free: 1.246 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2186, allocations: 0 / 436.5 MB, free: 1.246 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008741/0.2194, allocations: 407 kB / 436.9 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.2198, allocations: 31.88 kB / 436.9 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00596/0.2257, allocations: 3.585 MB / 440.5 MB, free: 13.12 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.226, allocations: 0.7446 MB / 441.3 MB, free: 12.35 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.2261, allocations: 37.86 kB / 441.3 MB, free: 12.32 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.2262, allocations: 71.41 kB / 441.4 MB, free: 12.25 MB / 318.1 MB Notification: Performance of SimCode: time 5.991e-06/0.2262, allocations: 0 / 441.4 MB, free: 12.25 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4941/0.7204, allocations: 9.452 MB / 450.8 MB, free: 2.945 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002636/0.7207, allocations: 226.8 kB / 451.1 MB, free: 2.688 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/2.46, allocations: 3.938 kB / 451.1 MB, free: 2.684 MB / 318.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1)