Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.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.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",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.001248/0.001248, allocations: 101.7 kB / 16.03 MB, free: 5.855 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.001394/0.001394, allocations: 193.4 kB / 16.95 MB, free: 5.699 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.345/1.345, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04281/0.04281, allocations: 8.099 MB / 298.9 MB, free: 6.898 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 63.91 kB / 361.3 MB, free: 8.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1857, allocations: 51.52 MB / 412.8 MB, free: 25.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.001996/0.1877, allocations: 1.876 MB / 414.7 MB, free: 23.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.1889, allocations: 1.54 MB / 416.3 MB, free: 22.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.139e-05/0.189, allocations: 4 kB / 416.3 MB, free: 22.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002749/0.1893, allocations: 119.5 kB / 416.4 MB, free: 22.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.1895, allocations: 131.3 kB / 416.5 MB, free: 22.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009382/0.1905, allocations: 0.7394 MB / 417.2 MB, free: 21.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002378/0.1907, allocations: 302.6 kB / 417.5 MB, free: 21.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.1909, allocations: 113.7 kB / 417.6 MB, free: 20.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.452e-05/0.191, allocations: 135.5 kB / 417.8 MB, free: 20.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.1911, allocations: 151.4 kB / 417.9 MB, free: 20.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.1911, allocations: 24 kB / 418 MB, free: 20.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.1913, allocations: 171.9 kB / 418.1 MB, free: 20.47 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.205e-05/0.1914, allocations: 63.7 kB / 418.2 MB, free: 20.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.937e-05/0.1915, allocations: 147.2 kB / 418.3 MB, free: 20.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.1918, allocations: 421 kB / 418.7 MB, free: 19.85 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1918, allocations: 0 / 418.7 MB, free: 19.85 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1918, allocations: 11.98 kB / 418.7 MB, free: 19.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.1918, allocations: 0 / 418.7 MB, free: 19.84 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.002412/0.1942, allocations: 0.9476 MB / 419.7 MB, free: 18.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.1943, allocations: 11.89 kB / 419.7 MB, free: 18.83 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.831e-05/0.1943, allocations: 62.7 kB / 419.8 MB, free: 18.76 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.885e-05/0.1944, allocations: 36.56 kB / 419.8 MB, free: 18.72 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.1946, allocations: 275.8 kB / 420.1 MB, free: 18.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.1946, allocations: 20.81 kB / 420.1 MB, free: 18.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.1946, allocations: 24.38 kB / 420.1 MB, free: 18.37 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/0.195, allocations: 335.8 kB / 420.4 MB, free: 18.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1951, allocations: 3.938 kB / 420.5 MB, free: 18.03 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/0.1951, allocations: 11.98 kB / 420.5 MB, free: 18.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1951, allocations: 8 kB / 420.5 MB, free: 18.01 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003531/0.1955, allocations: 333.6 kB / 420.8 MB, free: 17.69 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.1966, allocations: 1.021 MB / 421.8 MB, free: 16.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004035/0.197, allocations: 402.4 kB / 422.2 MB, free: 16.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002245/0.1973, allocations: 224.8 kB / 422.4 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.772e-05/0.1973, allocations: 15.97 kB / 422.4 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/0.1974, allocations: 38.5 kB / 422.5 MB, free: 15.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.343e-06/0.1974, allocations: 0 / 422.5 MB, free: 15.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.00193/0.1993, allocations: 1.054 MB / 423.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.866e-05/0.1993, allocations: 59.41 kB / 423.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.1995, allocations: 231 kB / 423.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.1995, allocations: 37.7 kB / 423.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.895e-05/0.1996, allocations: 140.5 kB / 424 MB, free: 14.31 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.371e-05/0.1996, allocations: 122.2 kB / 424.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.1997, allocations: 90.09 kB / 424.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.723e-05/0.1998, allocations: 334.8 kB / 424.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/0.2, allocations: 228.8 kB / 424.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.2003, allocations: 239.9 kB / 425 MB, free: 13.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005144/0.2008, allocations: 0.5132 MB / 425.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2008, allocations: 4 kB / 425.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001008/0.2018, allocations: 0.713 MB / 426.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.2018, allocations: 7.984 kB / 426.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2018, allocations: 0 / 426.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005512/0.2024, allocations: 158.5 kB / 426.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.2027, allocations: 79.89 kB / 426.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002474/0.2052, allocations: 4.622 MB / 431.1 MB, free: 6.758 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.2055, allocations: 35.56 kB / 431.1 MB, free: 6.723 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.2055, allocations: 12 kB / 431.1 MB, free: 6.711 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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.2056, allocations: 145.8 kB / 431.3 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.203e-05/0.2057, allocations: 27.78 kB / 431.3 MB, free: 6.531 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009582/0.2066, allocations: 0.5924 MB / 431.9 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2066, allocations: 4 kB / 431.9 MB, free: 5.918 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.2067, allocations: 7.938 kB / 431.9 MB, free: 5.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2067, allocations: 3.984 kB / 431.9 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.207, allocations: 468.9 kB / 432.4 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.207, allocations: 0 / 432.4 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/0.2072, allocations: 47.91 kB / 432.4 MB, free: 5.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004813/0.2076, allocations: 154.5 kB / 432.6 MB, free: 5.191 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.2077, allocations: 8 kB / 432.6 MB, free: 5.184 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002341/0.21, allocations: 4.595 MB / 437.2 MB, free: 168 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.21, allocations: 0 / 437.2 MB, free: 168 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009901/0.211, allocations: 0.639 MB / 437.8 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.178e-05/0.2111, allocations: 104.8 kB / 437.9 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.2111, allocations: 4 kB / 437.9 MB, free: 15.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.2114, allocations: 12 kB / 437.9 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.2114, allocations: 27.95 kB / 437.9 MB, free: 15.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.2114, allocations: 4 kB / 437.9 MB, free: 15.33 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001257/0.2116, allocations: 164.1 kB / 438.1 MB, free: 15.17 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2116, allocations: 0 / 438.1 MB, free: 15.17 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004096/0.212, allocations: 127.9 kB / 438.2 MB, free: 15.04 MB / 318.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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001258/0.2133, allocations: 1.183 MB / 439.4 MB, free: 13.83 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001445/0.2147, allocations: 0.8928 MB / 440.3 MB, free: 12.9 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2147, allocations: 3.938 kB / 440.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009241/0.2157, allocations: 0.5902 MB / 440.9 MB, free: 12.27 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.2159, allocations: 20.67 kB / 440.9 MB, free: 12.24 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004376/0.2203, allocations: 3.658 MB / 444.6 MB, free: 8.492 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.2206, allocations: 0.7572 MB / 445.3 MB, free: 7.711 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001413/0.2207, allocations: 34.25 kB / 445.4 MB, free: 7.676 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.2209, allocations: 79.41 kB / 445.4 MB, free: 7.598 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2209, allocations: 0 / 445.4 MB, free: 7.598 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7/0.9209, allocations: 7.309 MB / 452.8 MB, free: 444 kB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/0.9211, allocations: 211.4 kB / 453 MB, free: 188 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/2.725, allocations: 0 / 453 MB, free: 188 kB / 318.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe 2>&1)