Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009027/0.0009027, allocations: 83.69 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000959/0.000959, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8449/0.8449, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2061/0.2061, allocations: 29.41 MB / 290.1 MB, free: 2.441 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.087e-05, allocations: 4.109 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.003696/0.003716, allocations: 3.852 MB / 434.1 MB, free: 9.727 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.00485, allocations: 0.8648 MB / 434.9 MB, free: 8.859 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.005004, allocations: 19.81 kB / 435 MB, free: 8.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.005165, allocations: 43.62 kB / 435 MB, free: 8.797 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004767/0.005642, allocations: 174.9 kB / 435.2 MB, free: 8.625 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.005854, allocations: 87.7 kB / 435.2 MB, free: 8.539 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003263/0.006181, allocations: 386.5 kB / 435.6 MB, free: 8.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.006341, allocations: 56.72 kB / 435.7 MB, free: 8.102 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003247/0.006666, allocations: 231.2 kB / 435.9 MB, free: 7.875 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.006867, allocations: 151.6 kB / 436.1 MB, free: 7.727 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.006892, allocations: 16 kB / 436.1 MB, free: 7.711 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.514e-05/0.006917, allocations: 19.94 kB / 436.1 MB, free: 7.691 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.266e-05/0.00699, allocations: 83.73 kB / 436.2 MB, free: 7.609 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.299e-05/0.007063, allocations: 83.77 kB / 436.3 MB, free: 7.527 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.00729, allocations: 255.1 kB / 436.5 MB, free: 7.277 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.007292, allocations: 0 / 436.5 MB, free: 7.277 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.007294, allocations: 8 kB / 436.5 MB, free: 7.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.007299, allocations: 0 / 436.5 MB, free: 7.27 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006315/0.00793, allocations: 0.4905 MB / 437 MB, free: 6.746 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.007971, allocations: 15.98 kB / 437 MB, free: 6.73 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.495e-05/0.008015, allocations: 50.73 kB / 437.1 MB, free: 6.672 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.966e-05/0.008065, allocations: 36.73 kB / 437.1 MB, free: 6.637 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.008395, allocations: 256.3 kB / 437.4 MB, free: 6.363 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.008411, allocations: 16.88 kB / 437.4 MB, free: 6.344 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.008437, allocations: 24.06 kB / 437.4 MB, free: 6.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.0087, allocations: 274.7 kB / 437.7 MB, free: 6.023 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.00871, allocations: 3.938 kB / 437.7 MB, free: 6.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.008724, allocations: 8 kB / 437.7 MB, free: 6.012 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.008731, allocations: 7.938 kB / 437.7 MB, free: 6.004 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.008904, allocations: 159.8 kB / 437.8 MB, free: 5.848 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000847/0.009752, allocations: 1.094 MB / 438.9 MB, free: 4.668 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.009863, allocations: 81.11 kB / 439 MB, free: 4.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.373e-05/0.009897, allocations: 25.81 kB / 439 MB, free: 4.539 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.009911, allocations: 4 kB / 439 MB, free: 4.535 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.009935, allocations: 34.56 kB / 439.1 MB, free: 4.492 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.009936, allocations: 0 / 439.1 MB, free: 4.492 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005179/0.01045, allocations: 340.5 kB / 439.4 MB, free: 4.125 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.01049, allocations: 81.11 kB / 439.5 MB, free: 4.027 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.01065, allocations: 249.9 kB / 439.7 MB, free: 3.773 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.01066, allocations: 29.7 kB / 439.8 MB, free: 3.738 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.728e-05/0.01076, allocations: 195.9 kB / 439.9 MB, free: 3.543 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.01078, allocations: 31.73 kB / 440 MB, free: 3.512 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.01082, allocations: 33.72 kB / 440 MB, free: 3.473 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.78e-05/0.0109, allocations: 342.8 kB / 440.3 MB, free: 3.129 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.239e-05/0.01093, allocations: 24.17 kB / 440.4 MB, free: 3.105 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.909e-05/0.01103, allocations: 120.8 kB / 440.5 MB, free: 2.941 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.01114, allocations: 172.7 kB / 440.7 MB, free: 2.727 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.01115, allocations: 0 / 440.7 MB, free: 2.727 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002008/0.01135, allocations: 185.3 kB / 440.8 MB, free: 2.539 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.01136, allocations: 8 kB / 440.8 MB, free: 2.531 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.01137, allocations: 4 kB / 440.9 MB, free: 2.527 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.01138, allocations: 4.438 kB / 440.9 MB, free: 2.523 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.666e-05/0.01148, allocations: 51.84 kB / 440.9 MB, free: 2.473 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.01148, allocations: 8 kB / 440.9 MB, free: 2.465 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.321e-05/0.01153, allocations: 4 kB / 440.9 MB, free: 2.461 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.01155, allocations: 15.94 kB / 440.9 MB, free: 2.445 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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 8.522e-05/0.01163, allocations: 145.8 kB / 441.1 MB, free: 2.293 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.01166, allocations: 23.86 kB / 441.1 MB, free: 2.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.01176, allocations: 103.4 kB / 441.2 MB, free: 2.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.01178, allocations: 3.984 kB / 441.2 MB, free: 2.156 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.01178, allocations: 3.938 kB / 441.2 MB, free: 2.152 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.01179, allocations: 0 / 441.2 MB, free: 2.152 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002755/0.01206, allocations: 394.3 kB / 441.6 MB, free: 1.715 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01206, allocations: 0 / 441.6 MB, free: 1.715 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.088e-05/0.01211, allocations: 16 kB / 441.6 MB, free: 1.699 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.01212, allocations: 3.938 kB / 441.6 MB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.01212, allocations: 4 kB / 441.6 MB, free: 1.691 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.01213, allocations: 4 kB / 441.6 MB, free: 1.688 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01213, allocations: 0 / 441.6 MB, free: 1.688 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.01229, allocations: 225 kB / 441.8 MB, free: 1.445 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.258e-05/0.01231, allocations: 27.8 kB / 441.9 MB, free: 1.418 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.01232, allocations: 0 / 441.9 MB, free: 1.418 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.242e-05/0.01237, allocations: 4.094 kB / 441.9 MB, free: 1.414 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.567e-05/0.01238, allocations: 11.98 kB / 441.9 MB, free: 1.402 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.01239, allocations: 4 kB / 441.9 MB, free: 1.398 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.991e-05/0.01248, allocations: 173.2 kB / 442.1 MB, free: 1.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01248, allocations: 0 / 442.1 MB, free: 1.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001889/0.01266, allocations: 36 kB / 442.1 MB, free: 1.195 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002877/0.01295, allocations: 0.7569 MB / 442.8 MB, free: 416 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001198/0.01307, allocations: 84.55 kB / 442.9 MB, free: 332 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.01307, allocations: 0 / 442.9 MB, free: 332 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.112e-05/0.0131, allocations: 35.86 kB / 443 MB, free: 296 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.01352, allocations: 55.45 kB / 443 MB, free: 244 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1391/0.1526, allocations: 2.247 MB / 445.3 MB, free: 52.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.684e-05/0.1527, allocations: 152.9 kB / 445.4 MB, free: 52.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.82e-05/0.1528, allocations: 26.83 kB / 445.4 MB, free: 52.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.164e-05/0.1528, allocations: 75.02 kB / 445.5 MB, free: 52.87 MB / 410.7 MB Notification: Performance of SimCode: time 8.52e-07/0.1528, allocations: 0 / 445.5 MB, free: 52.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01633/0.1692, allocations: 4.989 MB / 450.5 MB, free: 51.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.53/6.7, allocations: 16.34 kB / 450.5 MB, free: 51.79 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Source_fmu --startTime=0 --stopTime=0.2 --stepSize=0.00027027 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Source.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.44350883550942] Failed to read output from testmodel.py, exit status != 0: 6.781835680827498 6.790836421 6.782062847 Calling exit ...